Skip to content

Translation issues detected when compiling fa and el locales #14347

@sobolevn

Description

@sobolevn

Describe the bug

Errors:

Execution of msgfmt failed: /Users/sobolev/Desktop/django-modern-rest/.venv/lib/python3.13/site-packages/sphinx/locale/fa/LC_MESSAGES/sphinx.po:599: a format specification for argument 'default.__name__' doesn't exist in 'msgstr'
msgfmt: found 1 fatal error

Execution of msgfmt failed: /Users/sobolev/Desktop/django-modern-rest/.venv/lib/python3.13/site-packages/sphinx/locale/el/LC_MESSAGES/sphinx.po:591: 'msgstr' is not a valid Python brace format string, unlike 'msgid'. Reason: The directive number 0 is unterminated.
/Users/sobolev/Desktop/django-modern-rest/.venv/lib/python3.13/site-packages/sphinx/locale/el/LC_MESSAGES/sphinx.po:598: a format specification for argument 'current.__name__' doesn't exist in 'msgstr'
msgfmt: found 2 fatal errors

How to Reproduce

  1. Run pip install django sphinx
  2. Run django-admin compilemessages
  3. See the error

Environment Information

Platform:              darwin; (macOS-15.6.1-arm64-arm-64bit-Mach-O)
Python version:        3.13.11 (main, Jan 21 2026, 13:03:36) [Clang 17.0.0 (clang-1700.6.3.2)])
Python implementation: CPython
Sphinx version:        9.0.4
Docutils version:      0.21.2
Jinja2 version:        3.1.6
Pygments version:      2.19.2

Sphinx extensions

-

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions