Rails I18n Customize Interpolation symbols

223 views Asked by At

I have an app running Rails and Angular, and am using I18n to translate all content. Unfortunately, I'm too far down the road to change the Angular interpolation symbols, which would have been very easy.

There are instances when I would like to interpolate translations on the Angular side, rather than Rails side.

Is there an easy way to specify to I18n interpolation delimiters to match those of Angular (ie use {{}} instead of %{}).

Thanks.

0

There are 0 answers