Best practices in Translation

Hi

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’)
@text.getText(Cookie[:language]

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

Fero46

BTW: Sorry for my bad english.

Here’s one solution: http://www.globalize-rails.org/globalize/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs