Easy way to output translatable selection dropdown's in rails forms?
19 views
Skip to first unread message
rubybox
unread,
Oct 28, 2011, 9:45:01 AM10/28/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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
Brandon Black
unread,
Oct 28, 2011, 7:19:55 PM10/28/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.