[Qgis-tr] Transifex: pros and cons

Werner Macho werner.macho at gmail.com
Mon Mar 23 03:47:57 PDT 2015


Hi!

Hmm - might be true - and as we moved translation to transifex we
could probably recreate this locations again ..
Will have a look this evening.
Thanks for the hint ..

regards
Werner

On Mon, Mar 23, 2015 at 11:36 AM, Junior Delaz <delazj at gmail.com> wrote:
> Hi,
> If I'm not wrong, those location infos were present in Transifex and helped
> to understand the context of text till a discussion about the size of the
> repo becoming heavy (
> http://lists.osgeo.org/pipermail/qgis-developer/2014-October/035327.html)
>
> 2015-03-23 11:25 GMT+01:00 Richard Duivenvoorde <richard at duif.net>:
>>
>> On 23-03-15 10:02, Werner Macho wrote:
>> > Hi all!
>> >
>> > I'm going to do some tests about the best way howto deal with that.
>> > IIRC you can download the ts file - rename it - copy it to the place
>> > in the source tree - translate it - rename it back to what it was
>> > while downloading and upload it again.
>> > (though not tested yet)
>>
>> Hi Werner,
>>
>> the crux is the 'location'- tags in the ts xml, like:
>>
>> <location
>> filename="../src/plugins/coordinate_capture/coordinatecapture.cpp"
>> line="96"/>
>>
>> if you see these in your ts file you are able to see the dialogs in
>> linguist.
>>
>> My guess is that transifex 'washes' these away when you upload/download
>> a ts file.
>>
>> As you can see the latest 'de' ts file:
>>
>> https://github.com/qgis/QGIS/blob/master/i18n/qgis_de.ts
>>
>> compared to a historical (pre tx) ts file:
>>
>>
>> https://raw.githubusercontent.com/qgis/QGIS/071fa924bec6c79fd3019af169627150c9dbb12c/i18n/qgis_de.ts
>>
>> you can see the 'location' tags are missing in the latest (from tx) file.
>>
>> I do not think it is doable for transifex to keep those, so only way is
>> to create the ts files yourself (which is not trivial, have a look into
>> the history of the update_ts_files.sh in the scripts dir)
>>
>> Regards,
>>
>> Richard Duivenvoorde
>> _______________________________________________
>> Qgis-tr mailing list
>> Qgis-tr at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-tr
>
>
>
> _______________________________________________
> Qgis-tr mailing list
> Qgis-tr at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-tr


More information about the Qgis-tr mailing list