Access translation values for the NOT default locale

Hi,

I have two language sets in my app (es and en)
Default is set to es

so when I do t(“akey”)

I get the spanish translation of “akey”

How can I get the english translation of “akey” without changing the
locale to en?

Any hints?

comopasta Gr wrote in post #1007816:

Hi,

I have two language sets in my app (es and en)
Default is set to es

so when I do t(“akey”)

I get the spanish translation of “akey”

How can I get the english translation of “akey” without changing the
locale to en?

Any hints?

Anyone? Someone?

comopasta Gr wrote in post #1008411:

comopasta Gr wrote in post #1007816:

Hi,

I have two language sets in my app (es and en)
Default is set to es

so when I do t(“akey”)

I get the spanish translation of “akey”

How can I get the english translation of “akey” without changing the
locale to en?

Any hints?

Anyone? Someone?

t(“akey”, :locale => :en) is the way.
Thanks to the rubyonrails IRC