- Posts: 13
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Add new languages to limeSurvey
- prajay04
- Topic Author
- Offline
- New Member
Less
More
4 years 5 months ago #189864
by prajay04
Add new languages to limeSurvey was created by prajay04
Hello,
I need to add new language to my survey i.e Kannada. This language is not available for selection in language list.
To get this language available for selection, i have to update getLanguageData function ( application/helpers/surveytranslator_helper.php)
$supportedLanguages = gT('Kannada');
$supportedLanguages = 'ಕನ್ನಡ';
$supportedLanguages = false;
$supportedLanguages = 2;
$supportedLanguages = 0;
Is there any other any other way where in i can add new language without editing core file?
I need to add new language to my survey i.e Kannada. This language is not available for selection in language list.
To get this language available for selection, i have to update getLanguageData function ( application/helpers/surveytranslator_helper.php)
$supportedLanguages = gT('Kannada');
$supportedLanguages = 'ಕನ್ನಡ';
$supportedLanguages = false;
$supportedLanguages = 2;
$supportedLanguages = 0;
Is there any other any other way where in i can add new language without editing core file?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 5 months ago #189866
by jelo
Your posted modification seems to miss adding the languages file (.mo). Did you create them?
manual.limesurvey.org/Translating_LimeSurvey
A feature request to add languages (even the same one more than once to a survey) can be supported here:
bugs.limesurvey.org/view.php?id=12148
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Add new languages to limeSurvey
You can suggest adding a language to LimeSurvey.prajay04 wrote: Is there any other any other way where in i can add new language without editing core file?
Your posted modification seems to miss adding the languages file (.mo). Did you create them?
manual.limesurvey.org/Translating_LimeSurvey
A feature request to add languages (even the same one more than once to a survey) can be supported here:
bugs.limesurvey.org/view.php?id=12148
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- prajay04
- Topic Author
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
4 years 5 months ago - 4 years 5 months ago #189869
by prajay04
Replied by prajay04 on topic Add new languages to limeSurvey
Your posted modification seems to miss adding the languages file (.mo). Did you create them?
I have added required font in ckeditor.
So my questions are loading in that font style
I just need language option for selection in survey settings which i need to added without touching core file
I have added required font in ckeditor.
So my questions are loading in that font style
I just need language option for selection in survey settings which i need to added without touching core file
Last edit: 4 years 5 months ago by prajay04.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
4 years 5 months ago #189874
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 Add new languages to limeSurvey
Did you look at Jelo's first link?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
4 years 5 months ago #189972
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Add new languages to limeSurvey
Here my feature request would be also interesting, which would help with not having to translate all strings for a new language, but first the respondent facing ones and later (maybe) the backend strings.
bugs.limesurvey.org/view.php?id=15245
bugs.limesurvey.org/view.php?id=15245
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 5 months ago #189974
by jelo
This is done via Gettext. www.gnu.org/software/gettext/manual/gettext.html
And there is no simple configuration file to add new languages to the LimeSurvey backend.
Someone will have to touch code. If you want to add a languages without touching corefiles, you will need to submit a new language to the developers. Or support a feature request to allow adding languages more easily.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Add new languages to limeSurvey
I wasn't writing about webfonts. A language for a survey contains a lot of translations for the application.prajay04 wrote: So my questions are loading in that font style
I just need language option for selection in survey settings which i need to added without touching core file
This is done via Gettext. www.gnu.org/software/gettext/manual/gettext.html
And there is no simple configuration file to add new languages to the LimeSurvey backend.
Someone will have to touch code. If you want to add a languages without touching corefiles, you will need to submit a new language to the developers. Or support a feature request to allow adding languages more easily.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
1 year 9 months ago #229162
by Mazi
To my knowledge for a short term solution there is no other way besides editing the source code. We have added additioanl langauges for many different customers to their surveys but that always involves changing the source code, which is not that complex. Of course, you should later make the new languages and translation available to the Limesurvey team as outlined at the previously posted links.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Add new languages to limeSurvey
How did you end up solving this?Your posted modification seems to miss adding the languages file (.mo). Did you create them?
I have added required font in ckeditor.
So my questions are loading in that font style
I just need language option for selection in survey settings which i need to added without touching core file
To my knowledge for a short term solution there is no other way besides editing the source code. We have added additioanl langauges for many different customers to their surveys but that always involves changing the source code, which is not that complex. Of course, you should later make the new languages and translation available to the Limesurvey team as outlined at the previously posted links.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.