markdown-i18n

i18n extension for Python Markdown


Keywords
i18n, markdown, mkdocs, translation
License
MIT
Install
pip install markdown-i18n==3.0.0

Documentation

Markdown i18n

https://travis-ci.org/gisce/markdown-i18n.svg?branch=master

This is an extension for Python Markdown

Install

$ pip install markdown-i18n

Configure

  • i18n_lang: Lang to use on rendering
  • i18n_dir: Path to localitzation

The structure of i18n_dir must be:

├── en_US
│   └── LC_MESSAGES
│       ├── messages.mo
│       └── messages.po
└── messages.pot

The first time rendering the content it will generate the messages.pot file