My locale procedure (0.6):
easy_install babel
# create locale files
python setup.py init_catalog -l fi -i sphinx/locale/sphinx.pot -o
sphinx/locale/fi/LC_LANGUAGE/sphinx.po
# edit msgstr ""  lines (sphinx/locale/fi/LC_LANGUAGE/sphinx.po)

# msgcmp to use checking syntax
# ftp://ftp.gnu.org/gnu/gettext/gettext-0.17.tar.gz
# you can test your edit (GNU gettext include msgcmp)
# in fi/LC_LANGUAGE directory
msgcmp --use-fuzzy sphinx.po ../../sphinx.pot

# sphinx directory
python setup.py compile_catalog
python setup.py build
python setup.py install

So you can load fi locale
http://jukka.awot.fi/files/doc/rst/2/_build/html/sphinx.po

Only "end user" terms has translated. Programmers use english. No need to
translate.

But some problem:

   - template/layout.html can't process if I have translated copyright,
   last_update, ...
   - http://jukka.awot.fi/files/doc/rst/2/_build/html/  default template
   include word "documentation"
   - ref not use locale

   * :ref:`genindex`
   * :ref:`modindex`
   * :ref:`search`

   - http://jukka.awot.fi/files/doc/rst/2/_build/html/genindex-all.htmlfirst
"module" not translated - after last make, it's okay ?
   - http://jukka.awot.fi/files/doc/rst/2/_build/html/genindex.html Left
   column Index not translated
   -
   
http://jukka.awot.fi/files/doc/rst/2/_build/html/search.html?q=organisaatio&check_keywords=yes&area=defaultresult
page not handle source_encoding = 'latin-1' and not substitutions,
   search use substitutions - good
   - http://jukka.awot.fi/files/doc/rst/2/_build/html/modindex.html modindex
   page not do substitutions
   - http://jukka.awot.fi/files/doc/html/index.html - sphinx doc - "Sphinx
   home" and "Documentation" not locale

jukka

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to