- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Modify language designation in Drop down menu
- AishaFT
- Topic Author
- Offline
- New Member
Less
More
3 years 10 months ago #200262
by AishaFT
Modify language designation in Drop down menu was created by AishaFT
Dear all,
I designed a survey in 4 languages, English (basic language), Albanian, Macedonian and Bosnian/Croatian/Serbian/Montenegrin. The Lime Survey only offered me either Serbian or Bosnian or etc. as language. I opted for Serbian, and now it say 'English', 'Sqiphe' for Albanian, 'Macedonski' for Macedonian and 'Srpski' for Serbian in my Drop Down List. Is there any way that you could change this designation?
E.g. Instead of 'Srpski' it would say BHSM (Bosnian/Croatian/Serbian/Montenegrin)?
I hope you can help me!
Thank you in advance.
Best,
Aisha
I designed a survey in 4 languages, English (basic language), Albanian, Macedonian and Bosnian/Croatian/Serbian/Montenegrin. The Lime Survey only offered me either Serbian or Bosnian or etc. as language. I opted for Serbian, and now it say 'English', 'Sqiphe' for Albanian, 'Macedonski' for Macedonian and 'Srpski' for Serbian in my Drop Down List. Is there any way that you could change this designation?
E.g. Instead of 'Srpski' it would say BHSM (Bosnian/Croatian/Serbian/Montenegrin)?
I hope you can help me!
Thank you in advance.
Best,
Aisha
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12930
- Thank you received: 3978
3 years 10 months ago #200269
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Modify language designation in Drop down menu
Hi, Aisha,
see this related post.
forums.limesurvey.org/forum/installation...itch-question#197341
Joffm
see this related post.
forums.limesurvey.org/forum/installation...itch-question#197341
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: AishaFT
The topic has been locked.
- AishaFT
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 10 months ago #200411
by AishaFT
Replied by AishaFT on topic Modify language designation in Drop down menu
Dear Joffm,
Thank you for your reply! Does the suggested solution also work if I do not have access to the server? As I am currently working from home, I can only access the survey remotely, I guess.
Thank you in advance!
Aisha
Thank you for your reply! Does the suggested solution also work if I do not have access to the server? As I am currently working from home, I can only access the survey remotely, I guess.
Thank you in advance!
Aisha
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
3 years 10 months ago #200416
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 Modify language designation in Drop down menu
You should be able to change the dropdown option text via JavaScript (assuming you have permissions to insert JavaScript).
What LimeSurvey version are you using?
Do you use a custom theme?
Do you want "BHSM" for that option in all languages?
Can you attach a small sample survey (.lss file)?
What LimeSurvey version are you using?
Do you use a custom theme?
Do you want "BHSM" for that option in all languages?
Can you attach a small sample survey (.lss file)?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- AishaFT
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 10 months ago #200417
by AishaFT
Replied by AishaFT on topic Modify language designation in Drop down menu
Dear Tony,
Thank you for your answer. You wrote 'You should be able to change the dropdown option text via JavaScript (assuming you have permissions to insert JavaScript).' - Where excatly should I be able to change that? I cannot modify/add any file in the server.
I am using LimeSurvey Version 2.05+.
'Do you use a custom theme?' - No.
'Do you want "BHSM" for that option in all languages?' - I am not sure if I understand the question. I have a version of my questionnaire in Serbian (I chose Serbian, because it was an option given by LimeSurvey) - the language that I am actually using is called BHSM (stands for Bosnian/Croatian/Serbian/Montenegrin).In my Dropdown Menu the English version is called 'English', the Macedonian 'Македонски' , the Serbian 'Sprski' etc. Instead of 'Srpski', I would like this version of the questionnaire to be called 'BHSM' in the Drop Down menu.
Please find attached the .lss file.
I hope it is more clear now!
Thank you in advance,
Aisha
Thank you for your answer. You wrote 'You should be able to change the dropdown option text via JavaScript (assuming you have permissions to insert JavaScript).' - Where excatly should I be able to change that? I cannot modify/add any file in the server.
I am using LimeSurvey Version 2.05+.
'Do you use a custom theme?' - No.
'Do you want "BHSM" for that option in all languages?' - I am not sure if I understand the question. I have a version of my questionnaire in Serbian (I chose Serbian, because it was an option given by LimeSurvey) - the language that I am actually using is called BHSM (stands for Bosnian/Croatian/Serbian/Montenegrin).In my Dropdown Menu the English version is called 'English', the Macedonian 'Македонски' , the Serbian 'Sprski' etc. Instead of 'Srpski', I would like this version of the questionnaire to be called 'BHSM' in the Drop Down menu.
Please find attached the .lss file.
I hope it is more clear now!
Thank you in advance,
Aisha
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3593
3 years 10 months ago - 3 years 10 months ago #200431
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 Modify language designation in Drop down menu
Set up your survey to use JavaScript
.
Insert this script into the source of the welcome message and into the source of a question in every group (in all languages).
Sample survey attached:
Insert this script into the source of the welcome message and into the source of a question in every group (in all languages).
Code:
<script type="text/javascript" charset="utf-8"> $(document).on('ready ',function(){ $('#lang option[value="sr-Latn"]').text('BHSM'); }); </script>
Sample survey attached:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
Last edit: 3 years 10 months ago by tpartner.
The following user(s) said Thank You: AishaFT
The topic has been locked.
- AishaFT
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 10 months ago #200478
by AishaFT
Replied by AishaFT on topic Modify language designation in Drop down menu
Dear Tony,
Works perfectly! What a relief, it was such a big headache for us!
Thank you very much!
Best,
Aisha
Works perfectly! What a relief, it was such a big headache for us!
Thank you very much!
Best,
Aisha
The topic has been locked.