11175
(-- --)
June 25, 2008, 8:55pm
1
I need to have a Rails application into at least two languages (French &
English), but I hesistate to hardcode it.
I've read a bit about the GNU gettext library.
Does anybody know about a clear tutorial on the topic?
I'm reading through the official doc, but it is not exactly for
beginners.
Thanks
I need to have a Rails application into at least two languages (French &
English), but I hesistate to hardcode it.
I've read a bit about the GNU gettext library.
Does anybody know about a clear tutorial on the topic?
I'm reading through the official doc, but it is not exactly for
beginners.
Lots to choose from... not sure which is the best, but this is a good place to start.
http://agilewebdevelopment.com/plugins/category/8
11175
(-- --)
June 25, 2008, 8:59pm
3
Thanks Philip, I'll have a look.
Philip Hallstrom wrote:
julian3
(julian)
June 25, 2008, 9:09pm
4
Dear All,
This is one chalenge I am facing at the momement as well. I am trying
to move forwared from a java environmen, but i need to be sure of
this and a few other thinks before makeing the leap.
Other than GNU gettext. what options are there? What would be
considered the "Rails Way"
many thanks for your thoughts
Julian
There are a few options you might consider depending on your needs.
We use simple_localization (http://simple-localization.arkanis.de/) ) and are very happy with it, works perfectly in Rails 2.1.
Best regards
Peter De Berdt
11175
(-- --)
June 26, 2008, 9:19am
7
Once more:
maybe useful for you later.
Reinhart
<shameless self-promotion>
You can even translate your URLs and use them to set the user language:
http://github.com/raul/translate_routes/tree/master
</shameless self-promotion>
I've used Gibberish. Ya Talkin' Gibberish — err.the_blog
It works pretty well.
+1 for Globalite: it's very easy to translate both rails
and your application, with yml files and a clean way to
embed the strings in your views (translation_key.l).
Marko