2010/8/18 Andrés gutiérrez <[email protected]>:
> But,...
> es:
>   meta:
>     language: %{locale}
> How is the interpolation?

If you pass :locale into I18n.t, it will use that locale rather than
the currently active one. So  I18n.t("meta.language_name", :locale =>
:es) will be es.meta.language_name,  I18n.t("meta.language_name",
:locale => :en) will be en.meta.language_name.

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en.

Reply via email to