Multiple Languages

Hi,

I’m developing a website that will be displayed in both English and
Japanese. Normally I’d just put the strings in a resources file but
it’s a bit more tricky now because:

  • An English visitor should be directed to a different homepage than the
    Japanese visitor.
  • The navigation links, layout and views for the site will be different
    based on whether they’re English or Japanese.

There will be separate domains (.com and .co.jp) so I can determine
which language to show the site in but I’m not sure of the best/easiest
way to do this, any ideas?

Many thanks,
Russell

take a look at this

http://github.com/joshmh/globalize2

Thanks very much, that should help quite a bit.

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