When generating the po-files, in some cases the string is not pushed to the po-files.
works fine:
{% set translation = "My string"|trans %}
Doesn't work:
{% set translation = "My string"|trans `%}
{% set translation_2 = translation ~ "My second string"|trans %}
"My second string" will not be pushed to the po-files.
When the translated string is already in the po-files, the |trans filter works fine.
When generating the po-files, in some cases the string is not pushed to the po-files.
works fine:
{% set translation = "My string"|trans %}Doesn't work:
"My second string" will not be pushed to the po-files.
When the translated string is already in the po-files, the |trans filter works fine.