Language with Value Set Name

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
VirtuesArios
Posts: 32
Joined: June 2nd, 2022, 5:55 am

Language with Value Set Name

Post by VirtuesArios »

Hello Guys,
Would it be possible if I have different languages then in my Value Set Names I have different languages also? What languages I choose it would also pick the languages in the value set?

Code: Select all

English
0 - No
1 - Yes

French
0 - Non
1 - Oui 
And also how would I display the value label in the form instead the value, I want the Yes or No to display in the form not 0 and 1.
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Language with Value Set Name

Post by sherrell »

I think you're asking, can you have, for example, 3 languages, where only 2 are defined in your dictionary?

If so, then let's pick English, Arabic, and French.

You choose English and Arabic as your two defined languages. You could then put the French version of a value set as the second value set within the either the English or Arabic value set. But then you'd have to create a special code/method to invoke the French language.

>And also how would I display the value label in the form instead the value, I want the Yes or No to display in the form not 0 and 1.

If your value set is defined with Yes/No as the value label and 1/2 in the "from" field, then you should be seeing the Yes/No text, not the 1/2 values.

Sherrell
VirtuesArios
Posts: 32
Joined: June 2nd, 2022, 5:55 am

Re: Language with Value Set Name

Post by VirtuesArios »

Thanks sherrell for the quick response, Yes I have two languages, actually it's in CAPI Questions I put the languages, this is only what I want when the user chooses the languages the user also get the response answers or which means in the values set names.

Yes I call the variable with the Item Name ~~NUM1~~

value label - From
No 0
Yes 1
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Language with Value Set Name

Post by Gregory Martin »

You'll want to add those languages to your dictionary as well: https://www.csprousers.org/help/CSPro/m ... aries.html

Then you can set language-specific labels for items / values / etc.
VirtuesArios
Posts: 32
Joined: June 2nd, 2022, 5:55 am

Re: Language with Value Set Name

Post by VirtuesArios »

Gregory Martin wrote: September 19th, 2022, 12:18 pm You'll want to add those languages to your dictionary as well: https://www.csprousers.org/help/CSPro/m ... aries.html

Then you can set language-specific labels for items / values / etc.
Thanks for this Gregory Martin it really helps, what action or event would that be if the users change the language during runtime in CSEntry.
sherrell
Posts: 397
Joined: April 2nd, 2014, 9:16 pm
Location: Washington, DC

Re: Language with Value Set Name

Post by sherrell »

You have multiple languages when the respondents in your survey/census have different language abillities. While a country might have, for example, English as an official language, you may encounter people who only speak a local language, and so you would want to switch to that. Or you are in a neighborhood with a large immigrant community, and they don't speak the national language, only their language.

Sherrell
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Language with Value Set Name

Post by khurshid.arshad »

Please see these two videos for multi-languages.

https://youtu.be/5weHqTg1bFk

https://www.youtube.com/watch?v=4m1WJ65bnC8

Best.
a.
VirtuesArios
Posts: 32
Joined: June 2nd, 2022, 5:55 am

Re: Language with Value Set Name

Post by VirtuesArios »

khurshid.arshad wrote: September 21st, 2022, 7:59 am Please see these two videos for multi-languages.

https://youtu.be/5weHqTg1bFk

https://www.youtube.com/watch?v=4m1WJ65bnC8

Best.
a.
Thank you khurshid for sharing this it is really helpful
khurshid.arshad
Posts: 571
Joined: July 9th, 2012, 11:32 am
Location: Islamabad, Pakistan

Re: Language with Value Set Name

Post by khurshid.arshad »

Dear,

I have another view video for you that I just uploaded.

https://youtu.be/dlCWPRnsl5I

Best regards.
a
Post Reply