i tried to find if there is already a solution for this in the forum but i dont found something usefull. Is there a simple way (perhaps function...) to determine if (for a given language) there is a resource file for a language. I want to step through the selected
user languages an check if our system supports this language (i need this function for a dropdown-box to where i want to display all supported languages without writing them directly in den source code).
The simplest approach is to add a NameValueCollection to web.config (look at how appSettings is implemented in machine.config for details) and put the list of resource/language assemblies in there.
Regards
Dave
Provide an answer, and you enable a developer to code today. Show them how to find the answer using Google, and they can code forever.
None
0 Points
1 Post
How to determine (easy) which languages are available on the server
Aug 02, 2005 04:59 AM|duandan|LINK
i tried to find if there is already a solution for this in the forum but i dont found something usefull. Is there a simple way (perhaps function...) to determine if (for a given language) there is a resource file for a language. I want to step through the selected user languages an check if our system supports this language (i need this function for a dropdown-box to where i want to display all supported languages without writing them directly in den source code).
thx
Duandan
Contributor
5014 Points
2398 Posts
Re: How to determine (easy) which languages are available on the server
Aug 02, 2005 06:17 AM|DMW|LINK
Dave
Provide an answer, and you enable a developer to code today. Show them how to find the answer using Google, and they can code forever.