Best practices in Translation.


I thought about a way to translate a website. I thought about a Model,
for example called Language, with a Table in the DB, that dynamicly
load textphrase in the webpage.

Maybe like this :

@text= Language.find_by_text('some text to translate')

Is that a good way to translate a webpage with a DB backend ? What is
the best practices for translation


BTW: Sorry for my bad english.

Here's one solution: