Welcome to the LimeSurvey Community Forum

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

Add new languages to limeSurvey

  • prajay04
  • prajay04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
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?
The topic has been locked.
More
4 years 5 months ago #189866 by jelo
Replied by jelo on topic Add new languages to limeSurvey

prajay04 wrote: Is there any other any other way where in i can add new language without editing core file?

You can suggest adding a language to LimeSurvey.
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
  • prajay04's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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
Last edit: 4 years 5 months ago by prajay04.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #189874 by tpartner
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
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 5 months ago #189972 by holch
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

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.
More
4 years 5 months ago #189974 by jelo
Replied by jelo on topic Add new languages to limeSurvey

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

I wasn't writing about webfonts. A language for a survey contains a lot of translations for the application.
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
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
1 year 9 months ago #229162 by Mazi
Replied by Mazi 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

 
How did you end up solving this?

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.

Lime-years ahead

Online-surveys for every purse and purpose