[Qgis-tr] Split large strings

Werner Macho werner.macho at gmail.com
Mon Oct 9 00:42:28 PDT 2017


Hi Richard!
Thats exactly what I meant.
"loosing the memory" is correct - at least local ..
I never tested this with uploading to transifex - maybe the memory there is
more "long lasting" ;)
But we'll never know without trying .

regards
Werner

On Mon, Oct 9, 2017 at 9:39 AM, Richard Duivenvoorde <rdmailings at duif.net>
wrote:

> On 08-10-17 23:00, Werner Macho wrote:
> > Transifex Webtranslation page for QGIS is on https://www.transifex.com/
> qgis/
> >
> >
> >
> > Hi!
> >
> > Have to test but IIRC "old" translations are still available in a *.ts
> > file ..
> > So maybe we should update the *.ts file next time with a switch (to be
> > found) with "delete deprecated translations"
> >
> > I remember I once did such a thing ..
>
> Hi Werner,
>
> lupdate has an option -no-obsolete :
>
> $ lupdate
> Usage:
>     lupdate [options] [project-file]...
>     lupdate [options] [source-file|path|@lst-file]... -ts
> ts-files|@lst-file
>
> lupdate is part of Qt's Linguist tool chain. It extracts translatable
> messages from Qt UI files, C++, Java and JavaScript/QtScript source code.
> Extracted messages are stored in textual translation source files
> (typically
> Qt TS XML). New and modified messages can be merged into existing TS files.
>
> Options:
>     -help  Display this information and exit.
>     -no-obsolete
>            Drop all obsolete and vanished strings.
>
>
>
> I think the drawback of doing this always is that you loose some
> 'memory' when only the 'key' has been changed (instead of being
> removed). But not 100% sure here..
>
> Regards,
>
> Richard Duivenvoorde
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-tr/attachments/20171009/888a05a4/attachment.html>


More information about the Qgis-tr mailing list