I am using Rails 3.2 with I18n for my translations. I offer my clients a search functionality, but in some cases what they want to search is in my translation file and not in the database.
A good example of this is Countries, where I want users to view the country names in their own language. I have an en.yml, fr.yml, gr.yml, ect, file containing all the countries available to the users and they need to be able to search it (in their current language)
Is there an easy way to do this? (The alternative is to put the countries in a table, which I'd like to avoid unless I have no other choice)