Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gisce/markdown-i18n

i18n extension for Python Markdown
https://github.com/gisce/markdown-i18n

hacktoberfest i18n markdown mkdocs translation

Last synced: 3 months ago
JSON representation

i18n extension for Python Markdown

Awesome Lists containing this project

README

        

Markdown i18n
=============

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

.. image:: https://coveralls.io/repos/github/gisce/markdown-i18n/badge.svg
:target: https://coveralls.io/github/gisce/markdown-i18n

This is an extension for `Python Markdown `_

Install
-------

.. code-block::

$ pip install markdown-i18n

Configure
---------

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

The structure of `i18n_dir` must be:

.. code-block::

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

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