diff --git a/conf.py b/conf.py index fb0a0b2..0504184 100644 --- a/conf.py +++ b/conf.py @@ -66,6 +66,8 @@ release = '0.83.4.1+limnoria' # for a list of supported languages. #language = None +locale_dirs = ['locale/'] + # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' diff --git a/conf_fr.py b/conf_fr.py new file mode 100644 index 0000000..c6b354e --- /dev/null +++ b/conf_fr.py @@ -0,0 +1,3 @@ +from conf import * + +language = 'fr' diff --git a/update_locales.sh b/update_locales.sh new file mode 100755 index 0000000..03d5ac7 --- /dev/null +++ b/update_locales.sh @@ -0,0 +1,3 @@ +#!/bin/bash +make gettext +sphinx-intl update -p _build/locale -l fr