Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sphinx-doc#10214: html: invalid language tag was generated for zh_CN
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