Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [language]

The tag has no usage guidance.

1
vote
0answers
17 views

Craft 3 Launguage Switcher by certain group

I'm working on the language switcher and have it working. The only thing is I want it to pull from group data-id=1 It's pulling from all sites because of the i18n to change the language name to it's ...
1
vote
1answer
16 views

multi language - each in its own folder?

Craft looks VERY promising to me! Still try to figure out if it could be perfect for our new project, though. Our website will be in English and German (accessible under ONE domain - see below). I ...
1
vote
1answer
32 views

403 Error on homepage of second language

We are trying to setup a second language. We've gone through the steps and created a second website, we defined the base URL as @web/de for the second language (German). The deeper sections are ...
1
vote
1answer
28 views

The Variable {{ siteUrl }} Produces Two /es/es/ On Multisite

I'm getting example.com/es/es for my Spanish site instead of the expected example.com/es when using the {{ siteUrl }} variable. The primary site is producing the expected example.com/ Any idea of ...
0
votes
0answers
13 views

How to build a language switcher for Craft 3? [duplicate]

I have a Localization setup in Craft 3 for a two language site. URL structure: English - website.com/page (default) Russian - website.com/ru/page When switching between the two I guess I have to ...
0
votes
1answer
57 views

How to output <link rel=“alternate”> for each language?

I can't work out how to output <link rel="alternate"> for each language variation? Is there any easy way to do this please? Many thanks!
3
votes
1answer
84 views

Getting full native language name in Craft3 language switcher

I'm porting across a multilingual project from Craft2 to Craft3 and have to rebuild the language switcher. I was previously using the .nativeName method but apparently this is deprecated. I've got a ...
1
vote
1answer
44 views

Craft 2: Serve language / locale i18n according to user agent

As the official documentation does not give any hints on this: I am wondering how to serve the correct localization of my website according to the user’s language preference and/or browser/OS ...
0
votes
1answer
35 views

Craft 2: Locale throwing 404 in frontend

I have my two locales set up as described in the official documentation. I am able to translate my pages and fields in the CP as supposed to and have two versions ready in the backend, both with a ...
1
vote
0answers
17 views

Multi-language, how Craft determines the CopyFrom after adding website and Section

The question is admin (backend only), not Twig : Where to Manage "copy from" site when adding new website and add section to this website. The "Copyfrom" takes place in the background after ...
0
votes
0answers
23 views

Is there a way to turn off a language in Craft Commerce?

I have a site that serves German content. Now we have an admin that wants to have the backend in English. So I've added English in the locales. This works fine for standard Craft things. But in ...
1
vote
2answers
39 views

Having trouble with Bilingual URLs

I'm in the midst of setting up a bilingual website. English and Welsh. I have set up the locales in my settings (en and cy_gb) My directories have the necessary folders for each language, with each ...
0
votes
0answers
168 views

Error message “Unrecognized locale ”en_us" only sometimes

I've some problems when I navigate in our website. Sometimes I get message "Unrecognized locale "en_us"." (or es_mx if i'm navigating in spanish). When I get this message, I refresh and then I see the ...
3
votes
1answer
93 views

Can entries be disabled by default for 2/3 of the languages on my website

I have a 3 language website that I made for a client. The website is in Dutch, Japanese and English. When my clients creates a new entry, most of the time they want to have the Japanese and English ...
1
vote
2answers
382 views

System language, can I change it after installation?

I have Craft on local (Pro edition) that was installed with French as the system language. Is there a way to change to another language (English for example) for the control panel? I want to change ...
1
vote
0answers
44 views

Language Cookies Issues

Scenario 1: A language other than English is selected. New website.com visits will be in that language. Even after switching back to English, websites will continue to load in the previous language. ...
1
vote
1answer
259 views

Get every slug from entry for each language

For the robot.txt file, I want to get every URI from the entries for every language. Right now it just gets the URI from one language. {% set crawledEntries = craft.entries({ relatedTo: { ...
1
vote
1answer
70 views

locale loop doesn't get correct path

I'm trying to loop on locales to get the path to the current entry, but for the other locales (for a language switcher). Here is my code: {% set locales = craft.i18n.getSiteLocales() %} {% for ...
1
vote
2answers
60 views

Output two date languages on the same page without localization

I'm trying to output a date like this for instance: {{ now|date('l, j-m-Y') }} This outputs the date in my standard language. I need it output on the same page in English too. Is this possible?
4
votes
1answer
107 views

Multilinugual Import

I am currently using an import plugin to import csv data into a channel section and it works just fine. Now I want to import the entries in a second language. Does anyone have any experiences with ...
1
vote
1answer
20 views

Assigned Files in entries won't get synced on localization

I've got an entry-type, which has images and sound-files assigned through an asset-field. When i create an entry, those fields won't be synced in my other languages, even though the mark for "This ...
2
votes
1answer
181 views

Control panel field name & instructions translations

I've installed a Craft Pro site with 3 locales: Dutch, French & English, but the people who are going to input data will speak those languages too, so I need to translate the instructions field in ...
2
votes
1answer
555 views

Is it possible to use set the locale manually in a template?

I've got a generic newsletter template. Now some of our newsletters are in Spanish. It's overkill and more complicated for the admins to bother with settings up different locales, so instead I'd like ...
3
votes
2answers
274 views

Can I disable languages from the General Config Settings?

I started to develop my new Craft site in two languages (French & German). Once done here, I have to put the website online temporarily in one of these two languages (French). So I turned off all ...
4
votes
1answer
93 views

Multi-lingual site with a splash (language select screen) at the root

I'm trying to get something working and I keep breaking my internal links doing it. Here's what I'd like: public/index.html (this page would be the language select screen and can be dealt with ...
6
votes
1answer
384 views

Can I choose a language for the translate filter?

So I've built a language switcher as per this answer. I want the text for each link to be in the native language, for example I want the link to the English locale to say "Read this page in English" ...
0
votes
1answer
118 views

craft.request.getQuery returns empty on multi lingual site

I have the strangest bug. I have a site with two languages, Norwegian and English. In my code i check for craft.request.getQuery('prodid'). Locally in Apache this works fine with both language URLs, ...
0
votes
0answers
293 views

Change the current locale

Can I change the current locale? I've set up a standard site, using CRAFT client version (one language). Apparently Craft installs the en_us as the primary language. Content is added (in Dutch) and ...
1
vote
2answers
293 views

Output postDate in a different language than CP

How to retrieve the postDate of an entry in a different language than the CP. In the general config settings i have the following, 'defaultCpLanguage' => 'en' But i would like to display the ...
2
votes
1answer
443 views

Craft Translation Fallback

I disabled translation for Spanish and it returned 404 page. I set all my fields to translatable and By default craft translations are empty. How can I return English by default? Using Spanish ...
0
votes
2answers
61 views

How do I proceed when I want to show another language when the actual language is deactivated?

I have two languages (German and French). In my sections I have German enabled as default language. French is off by default. My Problem is: I always want to show content, even if the other ...
2
votes
1answer
114 views

How cumbersome is the content admin with 6 different languages

Am considering Craft for multi lingual project that will use 6 languages including Arabic. Just how cumbersome does the admin of content become when localisation and translatable are required for ...
0
votes
1answer
126 views

How do I change the default front-end language in Craft Personal?

Our client wants to have an English back-end, but a German front-end (for now, other languages later). Any idea how to handle this?
1
vote
1answer
278 views

German locale & English CP language resulting in disappeared entries

I have just one locale (German, de). Now, I've changed my CP language to English ('defaultCpLanguage' => 'en' in general.php). But now, all my entries have disappeared in the CP (Craft Pro 2.4.2670). ...
1
vote
1answer
66 views

Locale gives wrong output

Got the following issue: Building a site in 3 languages, Dutch, French & English All working fine, except the siteurl for building the href link that's going wrong. EN & NL ok, FR won't ...
3
votes
1answer
302 views

Load correct language Ajax

I'm having a problem with my ajax-loading when I'm on the english version of my page (My main language is Norwegian). I have a file named loadmore.html that I'm loading in on index.html when pressing ...
4
votes
2answers
1k views

Localized Site -> howto redirect Browser

How would you redirect users with an "english browser" automatically to the english site? I have no idea if this can be made with craft or if this is an apache webserver thing. Any idea? 'domain.de' ...
1
vote
1answer
161 views

Day and month names ignore certain formats in date filter and revert to number

When I try to output the day name (l or D) or month name (F or M) i get a number instead of the day/month-name. {{ entry.end|date("j. F Y") }} turns into: 1. 9 2015 when output. Expected output ...
1
vote
1answer
107 views

Language link not working for me

I've tried the LanguageLink and the last solution described here: How can I build a language switcher? but it never returns any URI. I'm not using translated slugs. As setup I've used: http://...
0
votes
1answer
105 views

Translating validator errors

Is there a way to add the validator strings into the translations? $message=$this->message!==null?$this->message:Yii::t('yii','{attribute} cannot be blank.'); /* craft/app/validators/...
2
votes
2answers
3k views

Change system language

I have a craft installation (that's up to date), that was installed with english as the system language. Now that Craft has quite a lot of system languages, is there a way to change to another ...
1
vote
3answers
187 views

How to use required fields on localised entries?

I'm building a multi-lingual site and have found Craft's locales / translatable fields useful for setting up structures where each page will have a translated version. However, for at least one of the ...
1
vote
1answer
268 views

Show entry content for other available locales

We need to part translate a site, and by which i mean only certain sections are available in other locales, and only certain Entries in those pages. In order to display these in the front end we ...
2
votes
2answers
1k views

Multi-Region & Multi-Language

I'm trying to setup a multi country site running off one Craft install. example.com ca.example.com uk.example.com Each countries content will be translated into five languages (English - en, ...
4
votes
3answers
656 views

P&T Contact Form plugin: How to display error messages in other languages via Ajax

The validations error message get displayed in main language instead of being translated, you can try here (contact form at bottom): http://lequartiergeneral.be/en/ The form is being displayed and ...
1
vote
1answer
286 views

Change date language in a client version of craft [duplicate]

I've installed a client version of craft. Apparently this is set in my local language (Dutch). First question is if that is something you can set to another language or must I install a Pro version ...
5
votes
1answer
302 views

How automatic slug generator could replace accentuated letters?

When typing in the title, the automatic slug generator doesn't filter or replace accentuated letters such as (ő, ú, á, ű). Is there a way to replace these letters to the unaccented one (like ő -> o, ű ...
4
votes
1answer
1k views

Localization - How do we manage multilingual, multi-environment on multiple domains?

I read this KB article about localization though, the examples are for sub-folders. I'm wondering how to handle the same concept but, for different language based domains e.g. example.com example.mx ...