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

Documentation about translated=True attribute on nodes #11508

Closed
wants to merge 2 commits into from

Conversation

humitos
Copy link
Contributor

@humitos humitos commented Jul 24, 2023

Minimal explanation with a full extension example about how the translated=True attribute injected by sphinx.transforms.i18n.Locale can be used to extend Sphinx's functionality.

Relates

Minimal explanation with a full extension example about how the
`translated=True` attribute injected by `sphinx.transforms.i18n.Locale` can be
used to extend Sphinx's functionality.

Related sphinx-doc#1246
@humitos
Copy link
Contributor Author

humitos commented Jul 24, 2023

@AA-Turner I've created a new section on doc/usage/advanced/intl.rst. I looks like a lot of code for a documentation page, but it's definitely useful. Do you think it's OK or should we take a different approach?

doc/usage/advanced/intl.rst Outdated Show resolved Hide resolved
doc/usage/advanced/intl.rst Outdated Show resolved Hide resolved
@AA-Turner
Copy link
Member

AA-Turner commented Jul 24, 2023

On reflection, this is useful enough to be integrated into Sphinx itself -- see #11509 for that PR.

A

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants