Answered by:
Localization, converting English to French.

Question
-
User924058327 posted
Hi Friends,
I am working on one website in which I want to use two languages at least that is English and French. I want to provide facility to user to select language by their own. I understood how to implement it for static website but since my all data is coming from database, I want to show it on website as per the selected language. Can you please suggest me how to use localization for dynamic website where all the data (Text) is coming from database.
Regards,
Avinash
Saturday, January 29, 2011 1:24 PM
Answers
-
User-224007220 posted
Look at these links below:
http://www.codeproject.com/KB/aspnet/MultiLingualResxGenerator.aspx
http://martinnormark.com/2009/03/12/translate-text-in-c-using-google-translate
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, January 29, 2011 2:36 PM
All replies
-
User-224007220 posted
Add localization logic to your database structure meaning... add something like Culture or Language field to the DB tables where you keep your texts... and use that same field when fetching your data/texts in where condition...
Saturday, January 29, 2011 2:17 PM -
User924058327 posted
Seems like I could not explain my question properly.
See, what I want to do is....I saved an article in English in database but if user select French then I want to show same article in French to him. Is it possible to convert this English article into French at runtime ? How ? Or is there any way to save this English article into French while saving into the database ? Please share some link or code if you have.
Regards,
Avinash
Saturday, January 29, 2011 2:26 PM -
User-224007220 posted
Look at these links below:
http://www.codeproject.com/KB/aspnet/MultiLingualResxGenerator.aspx
http://martinnormark.com/2009/03/12/translate-text-in-c-using-google-translate
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, January 29, 2011 2:36 PM