Welcome to the LimeSurvey Community Forum

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

Translating some strings

  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
4 years 1 month ago #195652 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
I found nothing with find -name '*.mo' | xargs fgrep 'Question overview', so I think this one is an exception.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #195658 by DenisChenu
Replied by DenisChenu on topic Translating some strings

DenisChenu wrote:

Jmantysalo wrote: I do not understand. At least on translate.limesurvey.org I just got "No translations were found!" when trying to found the string.

Maybe it's an issue and must be reported.


Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
4 years 1 month ago #195692 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
4 years 1 week ago #197080 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
In public registration form there are pop-up error messages "Please fill out this field." and "Please enter an email address." Where do they come from? I did not found them by grepping source code.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199739 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
Still trying to understand. For example there is translatable text "Show popups" in the Fruity settings, but "Show Clear All button" can not be translated.

The first one is found also in themes/survey/fruity/options/options.twig but another only in themes/survey/fruity/config.xml. What is the logic behind this? They both seem to be similar yes/no/inhert -selections.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199749 by DenisChenu
Replied by DenisChenu on topic Translating some strings
The autotranslate system check PHP file, not twig file.
Thne : when dev add the string in twig , he disn't remind to add it too in a PHP file.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199754 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
Can I see the autotranslate system somewhere? For example if I just add gT("foobar") in comment, will it be seen on translations?

It seems to be quite much repeating code anyways, about ten lines of each yes-no-inherited -question.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199768 by DenisChenu
Replied by DenisChenu on topic Translating some strings
I don't think we have code of translator bot, don't think it was public.

But generation of original messa.po is not made manually.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199775 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
OK. Then the other side: what strings will be translated if I manually do .po file and compile it to .mo with msgfmt?
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199844 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
Just too hard... Why translation of "Long free text" works, but "Huge free text" does not? There are some strings "Huge Free text" (notice big F), but changing them does not seem to make dfference.
The topic has been locked.
More
3 years 11 months ago #199865 by cdorin
Replied by cdorin on topic Translating some strings
Where are you translating? I assume you are doing that directly in GlotPress.

If yes, the translations need to be part of the release to appear in your installation (we release every Monday/Tuesday).

If you want to check your translation faster, replace the old translation file in the "locale" folder inside your installation with the up-to-date one (you can export the language translation outside GlotPress).

In case some words just don't get translated, please create a bug report -> we prioritize the strings that are not correctly displayed during survey-taking.

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.
  • Jmantysalo
  • Jmantysalo's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
3 years 11 months ago #199866 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
Yes, I do translation in GlotPress, but just for test have also tried manually modify .po -files. Also I have downloaded .mo and manually copied it to right location.

I think you can just try Lime in some language that has 100 % coverage, like Polish. You'll see several strings that are in English, even when there has been a translation in GlotPress for a long time.

Fortunately those strings that are shown in survey-taking are OK.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose