Hi Nicola,
_build/locale is the directory where "make gettext" builds the
POT-files. You don't need to version these files as they are built
always from your source.
With sphinx-intl you can create PO files for each language you will
provide. Look at the configuration variable locale_dirs. This is the
folder where sphinx-intl writes the PO files.
I have:
locale_dirs = ['./locale']
so they are in the projects root directory, where I can put them under
version control.
Then you can write all your PO files with this command to this directory:
sphinx-intl update -l xy -p _build/locale
Where xy is a language short cut (en, de, fr, it).
Now you can start your translation versioning these files.
juh
Am 10.03.2014 23:34, schrieb Nicola Musatti:
> Hallo,
> I am beginning to experiment with internationalization, as explained in
> the documentation <http://sphinx-doc.org/intl.html#intl>. However I
> would like to keep my po files under version control. Is this a good
> idea? Has anybody any advice on how to do it without putting the whole
> _build directory under version control too?
>
> Thank you!
> Nicola
>
> --
> You received this message because you are subscribed to the Google
> Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.