Skip to content

Commit

Permalink
Fix sphinx-doc#10214: html: invalid language tag was generated for zh_CN
Browse files Browse the repository at this point in the history
So far, HTML builder output the `language` configuration as a language
tag for HTML.  But it takes locale string in ANSI C, not IETF language
code.

This converts locale string to language tag to generate valid language
tag for HTML.
  • Loading branch information
tk0miya committed Mar 30, 2022
1 parent 223b1a9 commit 89444c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES
Expand Up @@ -65,6 +65,8 @@ Features added
Bugs fixed
----------

* #10214: html: invalid language tag was generated if :confval:`language`
contains a country code (ex. zh_CN)
* #10236: html search: objects are duplicated in search result
* #9962: texinfo: Deprecation message for ``@definfoenclose`` command on
bulding texinfo document
Expand Down

0 comments on commit 89444c0

Please sign in to comment.