Open qlands opened 3 years ago
Translating inside a macro works for me. Maybe you forgot to recompile the .po to .pm (this happens to me a lot)
I used gettext
instead of _
but that should not make a difference.
I recompile the .po into .mo . All my translations use _
I tried by adding a new translation string to the macro file for example title="{{ _('Close') }}"
and other just the same in an element outside the macro.
After python setup.py extract_messages
, python setup.py update_catalog
, translating the string, and python setup.py compile_catalog
the string inside the macro does not translate but the one outside does.
I have the following Macro:
Which I use with a code like:
Even though I have the text "The last action reported errors" in the .po files and the rest of the App translates properly, the message inside the macro does not get translated.
Environment: