Bonjour Alexandre,

I think I will try to update the wiki about this translation process.
However it should be similar to Trac which has already good pages
about that process:
http://trac.edgewall.org/wiki/TracL10N

Basically (from memory, so take it with caution):
1) for bloodhound_theme (for instance), download the .po file from
Transifex and put it in
bloodhound_theme/bhtheme/locale/fr/LC_MESSAGES/bhtheme.po (in your dev
directory if you installed in dev mode or in the virtualenv directory
if you installed normally)
2) Go to bloodhound_theme directory and execute "python setup.py
compile_catalog -l fr"
(for javascript, use bhtheme-js.po and compile_catalog_js instead)

To generate the messages for translation, this is different. Read the
Trac wiki page or wait for me to update the Bloodhound wiki pages ;-)

Regards,

On 9 April 2014 11:56, Alexandre Papin <[email protected]> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hello,
>
> I want to set up translations which are available on Transifex but i
> don't understand how to use these files.
>
> I'm familiar with the django translation process (makemessages) but it
> seems different with BH.
>
> What i've done:
>
>     - Download french translations from transifex.
>     - Put files bloodhound_XXX/bhXXX/locale/fr/LC_MESSAGES/messages.po
>
>     - Try to re-install bloodhound_XXX. Not working, it's not the good way.
>     - So try to make .mo file with msgfmt command and reinstall
> bloodhound_XXX, don't work too.
>
> In virtualenv/lib/sites-packages/bhXXX/ folder there is no folder named
> "locale" like in the trac folder..
>
> So anybody can explain me exactly what i need to do to import these
> translations please
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> Comment: GPGTools - https://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBCgAGBQJTRRk/AAoJEIzxlJ1HtoQqRRMIAK/eCFwEeGtiXo9SsVB8rgKb
> VPSCo8QsDc71WqjCnUf/sV4t3KgRY+gr3mf7eElX+eGEuo0c76TdfoGNPC1ZDsdp
> qry6tkEpZC0hRAlkUZk/PFk81Ee5LbzRUQDBx4dfjCrrircCd9LjzQygpBw5o1Uo
> zhsP0uDTCGZJ7bsnUbRhPmc0au4cSka5AAQ+acYW43qKlctOQ03VOCEsEqOFmpKe
> nlb+uzOH6q3xv5bcNszfTCJsWUmd+uRNm8xlY/N5R3pgx2MGhuAHFiy8th6i7OYj
> i9MNtX5jaZ3zDZ1tV/7zprFR+p7oqv0HnQNEHHfGi5oshHKmTmhSL8eVQoozKTo=
> =yy1o
> -----END PGP SIGNATURE-----
>

Reply via email to