Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Wednesday, August 31, 2011 1:11 PM
Is there a way to get the system language.
for example
when ur system language is set to english it selects the case english then sets all the form strings into english, when the case is dutch it sets all the form strings to dutch.
I'm prepared to translate the strings myself but the real question is what funcion I need to use on how to get the language.
thanks
iMatthiWare
HTH
If this post answers your question, please click "Mark As Answer".
If this post is helpful please click "Mark as Helpful".
Else you got to wait until a MVP or MCC replies they are the "PRO's"
All replies (5)
Wednesday, August 31, 2011 1:26 PM ✅Answered | 2 votes
Hello iMatthiWare,
Is there a way to get the system language.
for example
when ur system language is set to english it selects the case english then sets all the form strings into english, when the case is dutch it sets all the form strings to dutch.
I'm prepared to translate the strings myself but the real question is what funcion I need to use on how to get the language.
thanks
iMatthiWare
HTH
If this post answers your question, please click "Mark As Answer".
If this post is helpful please click "Mark as Helpful".
Else you got to wait until a MVP or MCC replies they are the "PRO's"
You Should use Culture Info Class , more information below
http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.aspx
try also to follow this articles
http://www.codeproject.com/KB/vb/Os_Info.aspx
And this thread
http://stackoverflow.com/questions/479300/detect-os-language-from-c
Regards
Carmelo La Monica
Blog http://community.visual-basic.it/carmelolamonica/
WordPress http://carmelolamonica.wordpress.com/
Twitter http://twitter.com/carmelolamonica
Wednesday, August 31, 2011 1:26 PM ✅Answered | 1 vote
The system language is a part of the culture,
The first two characters as result is the language
Dim theUsecCulture = System.Globalization.CultureInfo.CurrentCulture
Success
Cor
Wednesday, August 31, 2011 2:04 PM
thanks!
just what i'm searching for.
HTH
If this post answers your question, please click "Mark As Answer".
If this post is helpful please click "Mark as Helpful".
Else you got to wait until a MVP or MCC replies they are the "PRO's"
Wednesday, August 31, 2011 2:04 PM
Thanks!
Its just what i'm searching for!
HTH
If this post answers your question, please click "Mark As Answer".
If this post is helpful please click "Mark as Helpful".
Else you got to wait until a MVP or MCC replies they are the "PRO's"
Wednesday, August 31, 2011 2:08 PM
Hello iMatthiWare,
thanks!
just what i'm searching for.
HTH
If this post answers your question, please click "Mark As Answer".
If this post is helpful please click "Mark as Helpful".
Else you got to wait until a MVP or MCC replies they are the "PRO's"
You're Welcome.
Best Regards.
Carmelo La Monica
Blog http://community.visual-basic.it/carmelolamonica/
WordPress http://carmelolamonica.wordpress.com/