I, as usual, have my translation files in locales.
Now I have an invitation in different languages.
I want the user to choose in which language mail should be sent, because this is not about the language of the working user, but about the language that the mail recipient should read.
Is there a way to explicitly specify the rails, which language to choose, for example t(:my_string, :en) ?
The goal is to temporarily translate it for only one call t .
This is what I need to specify in the t() command which language to use.
Thanks.
Yours, joern.
source share