Any way to force the translation to a specific language only for some text. Something like:
t("my.text",:fr)
The reason is that i want the user to be able to change the language of their content but not the site interface. Thanks!
It could be done this way:
I18n.t :foo, :locale => :fr
equivalent too:
t("my.text", :locale => :fr)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With