This project is archived and is in readonly mode.
I18n: interpolation does not conform to documented behaviour
-
Lukas Spee
- Tag changed from edge, i, i18n, patch to edge, i18n, patch
-
thedarkone
Hey Lukas,
I think this has already been fixed in the edge version of I18n library:
-
Lukas Spee
Yes, you're right. I didn't check the I18n edge. Then it's just not in the version that is currently shipped with Rails. However, I would still suggest to apply this patch to the edge version of I18n, because it is a bit DRY'er than the current implementation; if the curly braces syntax were to change in the future you would only have to change one line of code.
-
José Valim
- State changed from new to resolved
Since this was already fixed, I'm marking as resolved.If the patch is still valid and an improvement over the current implementation, please send it to: http://i18n.lighthouseapp.com/projects/14948-rails-i18n
Thanks!
