[Qgis-tr] how to copy translation from 2.99 (transifex) to 2.18 (ts on github)

Stefano Campus skampus at gmail.com
Tue Oct 10 02:25:25 PDT 2017


I found an artisanal solution:
1) I create a private transifex project
2) I load as source the 2.18 English version, downloaded from
https://github.com/qgis/QGIS/tree/release-2_18/i18n\qgis_en.ts
3) I impose Italian as translation language and I upload to this private
transifex project the qgis_it.ts downloaded from the current official
transifex.

at this point I see that on 18238 strings, 4274 have to be translated .

what happens is that for untranslated strings, in the "history" section
there is the proposal translation that comes from 2.99.

what I do is clicking on "use this" and save.

slow and boring, but it works.

when I'll finish (in a hurry because a free personal project in transifex
lasts a maximum of 15 days) I'll export from transifex the .ts and make the
pull request for the branch 2.18.
in this way the common translations between 2.18 and 2.99 will be
homogeneous.

it is not an elegant solution but hope this helps
:-)

s.

https://www.mediafire.com/view/hca18srsf3azjcs/Clipboard_01.jpg
https://www.mediafire.com/view/82vvdliyt9211c9/Clipboard_02.jpg
https://www.mediafire.com/file/iiqxvl1nzk1xuoq/Clipboard_03.jpg





2017-10-10 9:52 GMT+02:00 Werner Macho <werner.macho at gmail.com>:

> Transifex Webtranslation page for QGIS is on https://www.transifex.com/
> qgis/
>
>
> Hi Stefano,
>
> If you find a solution for that problem I am very interested in it.
> I did not manage to (bulk) backport translations yet.
> It would be really nice to be able to do that (without loosing correct old
> translations, but rather only adding the new translated)
>
> Honestly I never managed that without errors - and  like you I am worried
> more about loosing lots of existing translations than winning a few new
> ones.
>
> But it is nice to see that more people are trying this .. maybe one day we
> are lucky to find a solution.
>
> regards
> Werner
>
> On Mon, Oct 9, 2017 at 10:10 PM, Stefano Campus <skampus at gmail.com> wrote:
>
>> Transifex Webtranslation page for QGIS is on
>> https://www.transifex.com/qgis/
>>
>>
>> as you know, I'm translating the development version.
>> I noticed however that version 2.18 lacks about 5000 strings that are
>> instead translated into the current version of transifex.
>>
>> I'd like to insert the missing strings translated in the newer version
>> into the older version. Also some strings have been corrected in the new
>> version and I'd like to replace them in the older.
>>
>> I used lconvert in this form:
>>
>> lconvert -i 2.18.ts 2.99.ts -o total.ts
>>
>> But QT Linguist warns that in total.ts there are duplicated strings.
>>
>> Is it possible to insert in the older version (2.18) only the strings
>> that are the same (in english) from the newer (2.99)?
>>
>> thank you in advance
>>
>> s,
>>
>> _______________________________________________
>> QGIS-Translators mailing list
>> Qgis-tr at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/qgis-tr
>>
>
>
> _______________________________________________
> QGIS-Translators mailing list
> Qgis-tr at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-tr
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-tr/attachments/20171010/3fb7375a/attachment.html>


More information about the Qgis-tr mailing list