- Posts: 348
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Translating some strings
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
4 years 1 week ago #195582
by Jmantysalo
Translating some strings was created 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.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10632
- Thank you received: 3697
4 years 1 week ago #195593
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
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.
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.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
4 years 1 week 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.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 1 week ago #195643
by DenisChenu
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.
Replied by DenisChenu on topic Translating some strings
Maybe it's an issue and must be reported.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.
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
4 years 1 week 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?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 1 week ago #195648
by DenisChenu
? All string showed in GUI must be translated in all LimeSurvey accepted language.
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.
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.
Except very rare Yii framework string and some js lib translation : all are in po/mo.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?
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.
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
4 years 1 week 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
4 years 1 week ago #195658
by DenisChenu
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.
Replied by DenisChenu on topic Translating some strings
DenisChenu wrote:
Maybe it's an issue and must be reported.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.
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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
4 years 1 week ago #195692
by Jmantysalo
Replied by Jmantysalo on topic Translating some strings
OK, done as an issue:
bugs.limesurvey.org/view.php?id=16015
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 11 months 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
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
3 years 10 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 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 10 months ago #199749
by DenisChenu
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.
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.
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.