Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Unrecognized locale "tet"

  • constantinl
  • constantinl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #222548 by constantinl
Unrecognized locale "tet" was created by constantinl
Hi,

We would like to translate a survey in Tetum but when we configure our instance to display this language based on the English .mo file we get the error "Unrecognized locale "tet"".
Tetum is part of IANA Language Subtag Registry as describe on the Translating LimeSurvey page but it seems that the problem is somewhere else.

Has somebody already seen such problem?

Thanks
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #222557 by holch
Replied by holch on topic Unrecognized locale "tet"
I think you need to include tetum first as a new language, as it doesn't exist in Limesurvey. As one can even create "fantasy" languages or their own version of an existing language, I don't think it is relevant that Tetum is part of IANA...

Did you follow all steps here:
www.limesurvey.org/manual/Translating_Li...ng_a_new_translation

Especially 4 and 8?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • constantinl
  • constantinl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #222563 by constantinl
Replied by constantinl on topic Unrecognized locale "tet"
Thank you for your answer @holch but yes we have followed all the steps describes in the manual.
We have done that for another language in the past and it was working well.
The topic has been locked.
  • constantinl
  • constantinl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #222634 by constantinl
Replied by constantinl on topic Unrecognized locale "tet"
Hi,

For information, we have found a workaround to this problem.

The file tet.php doesn’t exist under /framework/i18n/data which was creating this error.
When I duplicate tl.php (which is Timor Leste file) and rename in tet.php then there is not error anymore.

I guess this impacts only the interface of LimeSurvey if Tetum is used as profile language.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #222641 by holch
Replied by holch on topic Unrecognized locale "tet"
OK, but this would mean that creating a new language would not work anymore as described here: www.limesurvey.org/manual/Translating_Li...ng_a_new_translation

Could you create a bug report?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • constantinl
  • constantinl's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #222642 by constantinl
Replied by constantinl on topic Unrecognized locale "tet"
It works for some but not for all languages listed on the IANA Language Subtag Registry.

Yes, I have created a bug report.
The following user(s) said Thank You: holch
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose