From a2a5caa4c75fa4cd9b809763670d91bdfa0b9e13 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Wed, 24 Feb 2016 21:05:35 +0100 Subject: [PATCH] Add French localisation. --- conf.py | 2 ++ conf_fr.py | 3 +++ update_locales.sh | 3 +++ 3 files changed, 8 insertions(+) create mode 100644 conf_fr.py create mode 100755 update_locales.sh 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