Question T1306
Visible to All Users

Localized ItemValue default text issue

created 6 years ago

But there is another (small) issue. Here is an updated plunk: https://plnkr.co/edit/QlsnMZ53ibWazynIVeq7?p=preview
I changed the default locale of the survey as suggested in this ticket: https://surveyjs.answerdesk.io/ticket/details/t1268
But if you add a new selectbase question now, the choices names are undefined1, undefined2,…
This happens because there is no translation for "item". Wouldn't it be better to have some kind of fallback to the english translation in case it does not exist in the current locale?

Thanks!

Comments (1)
DK DK
Dmitry Kurmanov 6 years ago

    Here a small example to reproduce the problem : https://plnkr.co/edit/5DHMi0Rk1E7PD0Rn4yNy?p=preview

    Answers approved by surveyjs Support

    created 6 years ago (modified 6 years ago)

    Fixed via the https://github.com/surveyjs/editor/commit/654f1eb78dfa12d04769294bb44da95420ad19c9 Fix will be available in the next minor update.

      Comments (1)
      HH HH
      Hendrik Hansmeier 6 years ago

        Works great, thank you! :)

        created 6 years ago

        Hello! Thanks for the reporting. We've fixed the problem via the https://github.com/surveyjs/surveyjs/commit/fdf825497ba688a8760a10c682718f9d1fbc7e8f
        Fix will be available in the next minor update.

        By the way there is no German text for the "choices_item". Please see English localization https://github.com/surveyjs/surveyjs/blob/master/src/localization/english.ts

        You can add corresponding German text in the https://github.com/surveyjs/surveyjs/blob/master/src/localization/german.ts file.

          Comments (2)
          HH HH
          Hendrik Hansmeier 6 years ago

            Great, thank you! :)

            HH HH
            Hendrik Hansmeier 6 years ago

              Hi,

              if I add the german text, it is used for creating new questions. But if you add new choices, the english version is still used:
              Clipboard-File-1.png

              Here is an updated plunk: https://plnkr.co/edit/s8Koez49tD2dQ4BZGGtY?p=preview

              Thanks!