We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running django-admin compilemessages will most usually decide the fr translation is up to date
django-admin compilemessages
File “...../jazzmin/locale/fr/LC_MESSAGES/django.po” is already compiled and up to date
but somteimes django will want to process it for some reason. And it will fail:
Execution of msgfmt failed: ..../jazzmin/locale/fr/LC_MESSAGES/django.po:88: 'msgid' and 'msgstr' entries do not both begin with '\n'
I am still puzzled about what triggers this but my builds are now sort of flaky (workaround is to simply re-trigger the build)
I guess this is related to https://www.gnu.org/software/gettext/FAQ.html#newline. I am not sure I understand the rationale for that gettext behavior but similar issues (e.g. scanmem/scanmem#205) have been fixed by enforcing newline parity between original and translated strings: https://github.com/farridav/django-jazzmin/blob/master/jazzmin/locale/fr/LC_MESSAGES/django.po#L90
The text was updated successfully, but these errors were encountered:
Fix french translation strings
fbfdc73
closes farridav#505
Successfully merging a pull request may close this issue.
Running
django-admin compilemessages
will most usually decide the fr translation is up to datebut somteimes django will want to process it for some reason. And it will fail:
I am still puzzled about what triggers this but my builds are now sort of flaky (workaround is to simply re-trigger the build)
I guess this is related to https://www.gnu.org/software/gettext/FAQ.html#newline. I am not sure I understand the rationale for that gettext behavior but similar issues (e.g. scanmem/scanmem#205) have been fixed by enforcing newline parity between original and translated strings: https://github.com/farridav/django-jazzmin/blob/master/jazzmin/locale/fr/LC_MESSAGES/django.po#L90
The text was updated successfully, but these errors were encountered: