You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You are browsing the documentation of <code>%(project_slug)s</code>. The "
"%(not_found_subject)s you are looking for was not found."
msgstr""
"Você está navegando na documentação de <code>%(project_slug)s</code>. O "
"%(not_found_subject)s que você está procurando não foram encontrados."
Here is how I see it in Sphinx documentation, translated to pt-br (example):
Você está navegando na documentação de sphinx-pt-br. O documentation page que você está procurando não foram encontrados.
Notice how {{ not_found_subject }} is replaced with the value documentation page, which is not available for translation in the aforementioned message catalog.
The text was updated successfully, but these errors were encountered:
rffontenelle
changed the title
Unable to translate the content of not_found_subject
Unable to translate the content of not_found_subject from 404 template page
Jun 12, 2024
_not_found_subject_translation_context, "matching DNS record"
)
However, "documentation page" is female in my language (in Spanish as well, I believe), which resulted in a awful translation.
So even if not_found_subject's value is marked as translatable, one could still face a hard time to translate different possible genders in a single string.
readthedocs.org/readthedocs/templates/errors/404/include_error_message.html
Lines 4 to 7 in 0580934
Let me show an example of Brazilian Portuguese translation:
This message is extracted as the following to the message catalog (po file):
readthedocs.org/readthedocs/locale/pt_BR/LC_MESSAGES/django.po
Lines 4338 to 4345 in 0580934
Here is how I see it in Sphinx documentation, translated to pt-br (example):
Notice how
{{ not_found_subject }}
is replaced with the valuedocumentation page
, which is not available for translation in the aforementioned message catalog.The text was updated successfully, but these errors were encountered: