Translate Interface Language not editable

Permalink 1 user found helpful
Hey There,

My Site Default Language is de_DE. I followed the instructions around setting up the languages, e.g. here and made my /application/languages/site folder writable.

As far as I understood, I should now be able to edit existing translations on the dashboard page "/dashboard/system/multilingual/translate_interface".

The language de_DE is available there, but it won't let me edit any translations nor it doesn't show the percentage of translation. (See screenshot)

Clicking on reloading strings or save to file does also not seem to do anything.

Did I understood the system wrong or did I do something wrong?

1 Attachment

View Replies: View Best Answer
janwidmer replied on at Permalink Reply 1 Attachment
I was able to see the following behaviour:

1. If the interface language is set to a different language than my Standard language (See screen), the edit button on the translate interface page is availble

2. If the interface language is set to the same language as my standard language, the edit button on the translate interface page is not availble.

That behaviour only makes partially sense to me, since even though I only have one language on my site (German) and the interface language is also set to that, I might still want to edit the translations for german via Dashboard..

Any thoughts on that?
mlocati replied on at Permalink Best Answer Reply
The problem is that the option you set in does not tell concrete5 that the interface language is in German: it tells concrete5 that the PHP code is using strings in German.
So, concrete5 doesn't let you translate from German (defined by that settings) to German (the interface language).

In order to define the language of your site interface you should use the /dashboard/system/basics/multilingual dashboard page.
janwidmer replied on at Permalink Reply 1 Attachment
So basically I need to set the Multilingual Setting to German and leave the default source language to Englisch US. That worked so far.

What is still a little bit unclear to me is, why I need to have the language files in two folders on the server:

1. /application/languages/de_DE/LC_MESSAGES/
2. /application/languages/site/

I tried to remove the first one, but then I get the message on the page /dashboard/system/basics/multilingual/ that there where no languages found..
mlocati replied on at Permalink Reply
You need to keep both the language files.

/application/languages/de_DE/LC_MESSAGES/ contains the so-called core translations, that is the German strings of concrete5 pages.
This is needed because concrete5 is written using English texts. For example, in the dashboard/system/basics/name dashboard page, the "Name & Attributes" and "Core Properties" texts are in English.
The /application/languages/de_DE/LC_MESSAGES/ file contains the German translations of "Name & Attributes" and "Core Properties". To translate these "core" strings, we use

/application/languages/site/ contains the "dynamic" strings that are defined by every specific concrete5 installation (for example, the name of the site that you enter in the dashboard/system/basics/name dashboard page).
These strings can be translated in the dashboard/system/multilingual/translate_interface dashboard page.

concrete5 also reads translation files from packages. Indeed, packages too contains texts written in English that should be translated.
To display these strings in German, concrete5 reads the file packages/PACKAGE_HANDLE/languages/de_DE/LC_MESSAGES/messages.po.
(These translations too are maintained in the site)
janwidmer replied on at Permalink Reply
perfect, thanks for explaining. :-)