Internationalization

Sticky: ReadMe ! How-to translate.

If you've got general approach questions, ask them here. If you can't find your language, go ahead and start a new discussion.

Welsh translation

Hi i have set up the welsh version of my site but the translate site interface is telling me a file is missing, could anyone give me any advice on hoe to go about getting the translation to work, as eventually i would like to add further languages that i …

8.4.2 page template names not translated in package

I make an array of page template names in my package with [code] $pt->getPageTemplateName() [/code] but they don't get translated. However the same code in the Pages & Themes in Dashboard gets translated. I could add a t() for that, but shouldn't that…

Language switcher link: domain.com/switch_language/1/457/1204

Hi could anyone help me with this: We have been using concrete5 for a while now, and we are perfectly happy with it. One of our customers' SEO guy have a problem with the language switcher: "The main problem is that 302s and meta refreshes, are poor su…

Translate Interface Language not editable

Hey There, My Site Default Language is de_DE. I followed the instructions around setting up the languages, e.g. here https://documentation.concrete5.org/editors/dashboard/system-and-maintenance/basics/languages and made my /application/languages/site …

8.4.2 How to get language of default locale?

What's the code to get language of the main default locale? [code] \Localization::activeLanguage(); [/code] will give the current locale language. But how do I get the default one, not the active one? Does the site get translated based on the local…

8.4.2 time zones, locales, datetime mess

I have a multilingual site with 2 locales: ru_RU (default) and an en_GB. I have 2 datetime widgets: [code] echo $app->make('helper/form/date_time')->datetime('pickup_dt', $dh->formatDateTime('tomorrow 09:00:00'), false, true, null, 1800, array()); e…

8.4.2 Switch Language block results in 404 error

I have 2 locales: / (ru_RU by default) /en/ (en_US) When I click on the US flag, it goes to the /en/PAGE. But when I click on the Russian flag, it goes to the /ru/PAGE and not just /PAGE resulting in a 404 error. How can I make it go to the site r…

Filter Posts