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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Philip, I''ll have a look. Philip Hallstrom wrote:>> 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-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 On Jun 25, 10:59 pm, Sébastien Clément <rails-mailing-l...@andreas- s.net> wrote:> Thanks Philip, I''ll have a look. > > Philip Hallstrom wrote: > >> 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 > > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Julian, give a try to Globalite Plugin @ http://code.google.com/p/globalite/ Have a nice day. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 25 Jun 2008, at 23:09, julian wrote:> 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"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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Once more: http://teapoci.blogspot.com/2008/05/translation-for-your-ruby-on-rails-web.html maybe useful for you later. Reinhart -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
<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> -- Raul Murciano - Freelance Web Developer http://raul.murciano.net --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve used Gibberish. http://errtheblog.com/posts/55-ya-talkin-gibberish It works pretty well. On Jun 26, 5:49 am, "Raul Murciano" <r...-SclF2enkfyrk1uMJSBkQmQ@public.gmane.org> wrote:> <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> > > -- > Raul Murciano - Freelance Web Developerhttp://raul.murciano.net--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
+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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---