grosser / gettext_i18n_rails

Rails: FastGettext, I18n integration -- simple, threadsafe and fast!
MIT License
268 stars 91 forks source link

Raw text in haml files are not translated #159

Closed neohunter closed 8 years ago

neohunter commented 8 years ago

I've a haml file with something like:

%h1= _('This text is translated')
%p This is a text I would like to translate, but is not.

The h1 text is transalted, but the P is not, do you support raw text or not? is not clear in the readme.

I found this gem but is frmo 6 years ago, not sure if it works.

https://github.com/nu7hatch/haml-magic-translations

grosser commented 8 years ago

raw text should never be translated ...

On Thu, Jul 28, 2016 at 1:26 PM, Arnold Roa notifications@github.com wrote:

I've a haml file with something like:

%h1= _('This text is translated') %p This is a text I would like to translate, but is not.

The h1 text is transalted, but the P is not, do you support raw text or not? is not clear in the readme.

I found this gem but is frmo 6 years ago, not sure if it works.

https://github.com/nu7hatch/haml-magic-translations

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grosser/gettext_i18n_rails/issues/159, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAsZ0FK1DaZX-BNLvrBDr8iRqhNzfxFks5qaRCGgaJpZM4JXm8y .