Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Antiquated version not using translation file

Antiquated version not using translation file 1 Jahr 4 Monate her #97742

  • chauchse
  • chauchses Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 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?
Letzte Änderung: 1 Jahr 4 Monate her von DenisChenu. Begründung: code again
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Antiquated version not using translation file 1 Jahr 4 Monate her #97754

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6551
  • Dank erhalten: 869
  • Karma: 257
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
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: chauchse

Antiquated version not using translation file 1 Jahr 4 Monate her #97763

  • chauchse
  • chauchses Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
Salut Denis,

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

Merci beaucoup!
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.169 Sekunden
Donation Image