Antiquated version not using translation file

More
3 years 10 months ago - 3 years 10 months ago #97742 by chauchse
chauchse created the topic: Antiquated version not using translation file
Hello,

We are using version 1.82+ (6825). I know, I know, plans are in the works to upgrade.

Multilingual surveys and surveys set up with a base language other than the system default are not fully translated. The questions, labels and answers are all fine - other lanfguages are displayed as expected. It is the "infrastructure" that is not translated: the previous/next buttons, the "No Answer" label, the Note on Privacy etc.

It's as though Limesurvey is not recognizing the locale or translation file for some reason. The required locale (fr) is set up. I've tried placing updated fr.mo and fr.po files in /locale/fr/LC_MESSAGES.

French appears to be supported in /classes/core/surveytranslator.php:
// French
            $supportedLanguages['fr']['description'] = $clang->gT('French');
            $supportedLanguages['fr']['nativedescription'] = 'Français';
            $supportedLanguages['fr']['rtl'] = false;

Suggestions?
Last Edit: 3 years 10 months ago by DenisChenu. Reason: code again

Please Log in to join the conversation.

More
3 years 10 months ago #97754 by DenisChenu
DenisChenu replied the topic: Antiquated version not using translation file
Salut,

Think french have good support on this version : no need to update fr.po and .mo.

But look at config-default if you don't have something for langage error.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: chauchse

Please Log in to join the conversation.

More
3 years 10 months ago #97763 by chauchse
chauchse replied the topic: Antiquated version not using translation file
Salut Denis,

I flipped the $translationmode parameter in config-defaults.php and that did the trick!

Merci beaucoup!

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now