sphinx-doc / sphinx-intl

A Sphinx utility that make it easy to translate and to apply translations.
https://sphinx-intl.readthedocs.io/
BSD 2-Clause "Simplified" License
74 stars 38 forks source link

locale_dir should default to 'locales' #14

Closed cocoatomo closed 7 years ago

cocoatomo commented 7 years ago

The default value of locale_dirs is ['locales'] since Sphinx 1.5. Therefore, for consistency and convenience, the name of default output directory of sphinx-intl should be a 'locales' directory.

shimizukawa commented 7 years ago

I see. It's definitely a bug..

shimizukawa commented 7 years ago

fixed by #15

cocoatomo commented 7 years ago

I tried following commands. Their result shows the issue has been resolved! thx!

$ pip install -U git+https://github.com/sphinx-doc/sphinx-intl.git
...
$ sphinx-intl update -p _build/gettext -l de
Create: locales/de/LC_MESSAGES/advanced.po
Create: locales/de/LC_MESSAGES/basics.po
Create: locales/de/LC_MESSAGES/index.po