Skip to content

Commit d8544b5

Browse files
Normalize language code
1 parent 8650c4c commit d8544b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
tags.add('translation') # noqa: F821
467467

468468
rst_epilog += f"""\
469-
.. _TRANSLATION_REPO: https://github.com/python/python-docs-{language_code}
469+
.. _TRANSLATION_REPO: https://github.com/python/python-docs-{language_code.replace("_", "-").lower()}
470470
""" # noqa: F821
471471
else:
472472
rst_epilog += """\

0 commit comments

Comments
 (0)