Skip to content

gisce/markdown-i18n

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown i18n

image

image

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