Translating some strings

More
3 months 3 weeks ago #195582 by Jmantysalo
How can I translate "Question overview" and "Question editor" -buttons? If I am right, they are defined in assets/packages/questioneditor/src/App.vue and do not use gT()-funktion.

Please Log in to join the conversation.

LimeSurvey Partners
More
3 months 3 weeks ago #195593 by tpartner
Replied by tpartner on topic Translating some strings
As far as I can see, they are translated - github.com/LimeSurvey/LimeSurvey/blob/ma...itor/src/App.vue#L20

You should be able to customize the translation file - manual.limesurvey.org/Translating_LimeSu...existing_translation

Or, maybe, use JavaScript to replace the text.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
3 months 3 weeks ago #195636 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
I do not understand. At least on translate.limesurvey.org I just got "No translations were found!" when trying to found the string.

Please Log in to join the conversation.

More
3 months 3 weeks ago #195643 by DenisChenu
Replied by DenisChenu on topic Translating some strings

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.

Please Log in to join the conversation.

More
3 months 3 weeks ago #195646 by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
Maybe, but should we first discuss about what can be translated in general? I.e. there is code written for LimeSurvey, but there is also code from Yii framework, from some js-based online rtf-editor and maybe other parts too. Does this affect translation?

Please Log in to join the conversation.

More
3 months 3 weeks ago #195648 by DenisChenu
Replied by DenisChenu on topic Translating some strings

Jmantysalo wrote: Maybe, but should we first discuss about what can be translated in general?


? All string showed in GUI must be translated in all LimeSurvey accepted language.

Jmantysalo wrote: I.e. there is code written for LimeSurvey, but there is also code from Yii framework, from some js-based online rtf-editor and maybe other parts too. Does this affect translation?

Except very rare Yii framework string and some js lib translation : all are in po/mo.

And since we have extra language : a lot of js lib have their translation updated for LimeSUrvey (in po/mo file).

The «all LimeSurvey accepted language» is the answer.

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.

Please Log in to join the conversation.

More
3 months 3 weeks 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.

Please Log in to join the conversation.

More
3 months 3 weeks 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.

Please Log in to join the conversation.

More
3 months 3 weeks ago #195692 by Jmantysalo
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
2 months 4 weeks 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.

Please Log in to join the conversation.

More
1 month 3 weeks 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.

Please Log in to join the conversation.

More
1 month 3 weeks 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.

Please Log in to join the conversation.

More
1 month 3 weeks 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.

Please Log in to join the conversation.

More
1 month 3 weeks 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.

Please Log in to join the conversation.

More
1 month 3 weeks 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?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now