[sane-devel] Translation Instructions

Olaf Meeuwissen paddy-hack at member.fsf.org
Tue Sep 4 13:35:50 BST 2018


Hi Elishai,

Yuri Chornoivan writes:

> четвер, 16 серпня 2018 р. 20:36:40 EEST Elishai Shkury написано:
>> Hello
>> I would please like to translate SANE.
>> Please provide instructions for translating.
>> Thank you,
>> Elishai
>
> Hi,
>
> 1. The initial data
>
> sane-backends is translated using Gettext PO files. You can edit them manually
> (they are just plain text files) but it would be better to use specialized
> software. It can be Lokalize, poEdit, GTranslator, OmegaT or Virtaal.
>
> To be synced with the current code you should pull whole sane-backends repo
> from gitlab:
>
> https://gitlab.com/sane-project/backends
>
> Fork it, clone to your machine or just download the archive (if you are not
> planning to update the translation), then do
>
> ./configure
> cd po
> make update-po
>
> Then either translate your locale's .po-file or rename sane-backends.pot into
> <your_locale>.po (if there is no <your_locale>.po in the current repo) and
> translate it from scratch.
>
> If you have troubles with this procedure just send me a message and I send you
> the needed file back.
>
> 2. The results
>
> Ready-to-use translation (do not forget to check is validity with "msgfmt -vc
> <your_locale>.po") can be submitted as gitlab merge request or added to the
> bug report on gitlab.
>
> Hope this helps.
>
> Best regards,
> Yuri

All of the above applies.  In addition, if you are adding a new
language, you need to add the locale to the po/LINGUAS file.  If you
want to work on an existing translation, you may want to get into touch
with the Last-Translator and/or Language-Team mentioned in the header of
the po/*.po file for your locale.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join



More information about the sane-devel mailing list