Last post Nov 10, 2009 02:22 AM by leena.d.patil
Nov 05, 2009 12:35 PM|Jedi302|LINK
I want to do a site with suport for more languages, just like it is here on this site.I got some questions about this i just need to clarify before i start working with it.
1. I seen some tutorials about Globalization and Localization and they use .resx to get the different texts from. Now i guess that is for lets say the headers, menus and so on, im i right? not body text e.i a blog post.
2. How can i do/how do i do to get e.i text from a database depending on the lang? e.i presentation text is in 3 langs..
Tips, articles, examples or explinations is welcome
Thanks in advance
Nov 05, 2009 11:26 PM|sayyazahmad|LINK
The contents can be translated to any language by Google Translation API.
Nov 06, 2009 02:43 AM|leena.d.patil|LINK
Answer for your first query is, whenever we are localizaing an application all text which displayed to the user should come from resx file or database. If your application takes input from user then, it should allow user to type in his/her own language.
Please refer below link for more information-
For your second query, if you are using database instead of resx file, then all the text should be stored in key- value pair form similar to resx file's key-value pair. Then fetch the data and put it in aplication. Refere below link for more information.
Hope this will give you a quite fair idea :)
Nov 09, 2009 11:37 AM|Jedi302|LINK
thanks leena.d.patil. the information was pretty good.. i get the idea now i just have to execute it :)
any code examples is appriciated
Nov 10, 2009 02:22 AM|leena.d.patil|LINK
Refer below link-
It contains code samples for fetching values from '.resx' file.