Welcome, Guest
Username: Password: Remember me

TOPIC: Antiquated version not using translation file

Antiquated version not using translation file 1 year 3 months ago #97742

  • chauchse
  • chauchse's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
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: 1 year 3 months ago by DenisChenu. Reason: code again
The administrator has disabled public write access.

Antiquated version not using translation file 1 year 3 months ago #97754

  • DenisChenu
  • DenisChenu's Avatar
  • NOW ONLINE
  • Moderator Lime
  • Posts: 6451
  • Thank you received: 844
  • Karma: 249
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
The administrator has disabled public write access.
The following user(s) said Thank You: chauchse

Antiquated version not using translation file 1 year 3 months ago #97763

  • chauchse
  • chauchse's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Salut Denis,

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

Merci beaucoup!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.153 seconds
Donation Image