Add new language

More
1 year 11 months ago #129163 by volya
volya created the topic: Add new language
Hello,

How can I add extra language to my survey? For example, I created survey in english and now I need to add ukrainian language to this survey. I can see locale\uk(rainian) folder on my server, but I can not see ukrainian language in dropdown list in
Global settings->Language->Available languages
and in
Current survey->General settings->General->Additional languages

What should I do? Please, give me an advice.

LS Version 2.05+ Build 141229

Please Log in to join the conversation.

More
1 year 11 months ago #129169 by DenisChenu
DenisChenu replied the topic: Add new language
Hi,

You need super admin allow Ukrainian.
manual.limesurvey.org/Global_settings#Language Available languages

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 11 months ago #129172 by volya
volya replied the topic: Add new language
I'm already admin. I can choose many other languages from dropdownlist, but I can't find ukrainian language there (Global settings->Language->Available languages).

Please Log in to join the conversation.

More
1 year 11 months ago #129191 by volya
volya replied the topic: Add new language
I fixed it!

I just added lines
// Ukrainian
$supportedLanguages = $clang->gT('Ukrainian');
$supportedLanguages = 'Український';
$supportedLanguages = false;
$supportedLanguages = 1;
$supportedLanguages = 1;

in the function getLanguageData in the file application\helpers\surveytranslator_helper.php. And now I can see ukrainian language in dropdownlist Global settings->Language->Available languages

Please Log in to join the conversation.

More
1 year 11 months ago #129213 by DenisChenu
DenisChenu replied the topic: Add new language

volya wrote: I fixed it!

I just added lines
// Ukrainian
$supportedLanguages = $clang->gT('Ukrainian');
$supportedLanguages = 'Український';
$supportedLanguages = false;
$supportedLanguages = 1;
$supportedLanguages = 1;

in the function getLanguageData in the file application\helpers\surveytranslator_helper.php. And now I can see ukrainian language in dropdownlist Global settings->Language->Available languages

It's in the last version ?
Beacuse : translate.limesurvey.org/projects/limesurvey2/uk/default are in our language system, maybe we lost it in our PHP system.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 11 months ago #129224 by volya
volya replied the topic: Add new language
No, my version is:
LS Version 2.05+ Build 141229

Please Log in to join the conversation.

More
1 year 11 months ago #129229 by DenisChenu
DenisChenu replied the topic: Add new language
I don't think this version have ukrainian language.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 11 months ago #129234 by volya
volya replied the topic: Add new language
But I can see "locale\uk" folder with not empty uk.mo file on my server after install procedure.

Please Log in to join the conversation.

More
1 year 11 months ago #129315 by DenisChenu
DenisChenu replied the topic: Add new language
We working with limesurvey206plus-build151205.zip . we don't fix old version.

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!