I have my clients requirement that the site needs to be able to support any language that he wants, ie he wants to add languages dynamically from backend. I know we can use messages folder by creating files and calling from respective files but the problem is we'll not know which language he needs.
I am getting very confused with the concept of unlimited languages support. I cant' seem to save all the languages in database either as it would get vague later creating new tables each time and linking it to each contents (or text).
Please help me figure out descriptively or with ER diagram for database structure. Any help will be greatly appreciated.
Thanks
EDIT: Here is the process client wants. (HE means CLient)
I am creating a trekking site where many viewer from different countries will view the site. So he wants to add the languages for those countries. But he is not sure which countries are needed at this moment.
1) He'll create a language eg Germany.
2) Goes to add a tour or trekk.
3) Select the language he had created (Germany and others)
4) If the required language is not there he'll go back to language and create it and return to add a tour/trek
Thats it actually. And in frontend users will be able to select the language in dropdown which should obivously give the contents accordingly.
I know the question seems a bit vague. But i have no clue how to get started with this one. What i need is precise database concept. If its still not clear please ask questions so that i could provide more info and could be helpful to other with similar task.