2010/8/18 Henrik Nyh <[email protected]> > On Wed, Aug 18, 2010 at 08:35, Henrik Nyh <[email protected]> wrote: > > 2010/8/16 Andrés gutiérrez <[email protected]>: > >> And for the text (Español, Spanish, Catala ,...) stored in a Hash > >> LOCALE_NAMES={: is => "Spanish",: in => "Español ",...} > > > > I do e.g. es.meta.language_name: "Español" and then > > I18n.t(:"#{locale}.meta.language_name") > > > > I mean I18n.t("meta.language_name", :locale => locale) of course. > But,... es: meta: language: %{locale} How is the interpolation?
> > -- > 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]<rails-i18n%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en. > > -- 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.
