Skip to content
New issue

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

Template Translation are not included in the gettext_compact domain #9030

Open
Blendify opened this issue Mar 22, 2021 · 0 comments
Open

Template Translation are not included in the gettext_compact domain #9030

Blendify opened this issue Mar 22, 2021 · 0 comments

Comments

@Blendify
Copy link
Contributor

Describe the bug
With a project that has custom templates with translatable messages these messages are not added to the gettext domain specified with gettext_compact. This causes issues with translation management websites that expect all messages to be in one translation file. For example weblate.

To Reproduce
Steps to reproduce the behavior:

make gettext message files for a project that overrides the default templates with translatable messages.

Expected behavior
The gettext builder should generate one message file and not output sphinx.po when gettext_compact specifies a custom domain.

Your project
https://svn.blender.org/svnroot/bf-manual/trunk/blender_docs/

Environment info

  • OS: Ubuntu 20.10
  • Python versin: 3.8.6
  • Sphinx version: 3.5.2
  • Sphinx extensions: sphinx-intl

Additional context

https://docs.weblate.org/en/latest/devel/integration.html#project-and-component-structure

@AA-Turner AA-Turner added this to the some future version milestone Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants