💬 国际化和本地化
Internationalization & localization¶
multilang¶
Serving locale-dependent pages. No documentation at this point.
- author: Avente LLC
- links: PyPI
- installation:
pip install mkdocs-multilang
image-localization¶
Serving locale-dependent images. No documentation at this point.
- author: Avente LLC
- links: PyPI
- installation:
pip install mkdocs-image-localization
i18n¶
It adds links to translated pages for each page. It also hides other languages page links of navigation menu if there is a translation for current page language.
static-i18n¶
An MkDocs plugin that helps you support multiple language versions of your site / documentation.
This plugin is made to be as simple as possible and will generate a default version of your website + one per configured language on the <language>/
path.
- the
default
version will use any.md
documentation file first and fallback to any.<default_language>.md
file found - the
/<language>
language versions will use any.<language>.md
documentation file first and fallback to any.<default_language>.md
file before fallbacking to any default.md
file found
Since demonstrations are better than words, check the demo link below!
mkdocs-mdpo¶
An MkDocs plugin for translate your site to multiple language versions using PO files.
This plugin is build in top of mdpo, allowing to parse a lot range of extensions texts updating PO files directly. Has compatibility with mkdocs-material
and supports a lot of options to configure the process. You can even translate codeblocks, check the demo link below!