Last post Jan 29, 2011 02:36 PM by p3tar
Jan 29, 2011 01:24 PM|agraut|LINK
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.
Jan 29, 2011 02:17 PM|p3tar|LINK
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...
Jan 29, 2011 02:26 PM|agraut|LINK
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.
Jan 29, 2011 02:36 PM|p3tar|LINK
Look at these links below: