Ruby on Rails Friday, October 28, 2011

IMO this is the best gem for localization in ruby: http://r18n.rubyforge.org/

Unless I misunderstand the problem, that should do the trick for you.
You can define the YAML for multiple cultures, and just populate your
drop down from that.

On Oct 28, 6:45 am, rubybox <voorr...@gmail.com> wrote:
> I have been looking for some time now to get easy translateable selection
> dropdown's for my rails forms and still unable to find a good gem, method
> to approach this.
>
> My goal is to:
>
> * Insert a form collection selection ( dropdown ) wich holds a collection
> of values and have that collection of values translated in several languages
> * Be able to insert based on current rails I18n locale the right collection
> of values for that locale
>
> Carmen gem does this for the languages but Ill need a global solution for
> my own collections,
> Anyone could recommend me a gem or method on how to approach? Im rather
> stuck on this one

--
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@googlegroups.com.
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.

No comments:

Post a Comment