Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-21 Thread Jason H
I'll see what I can dig up, but it's a low priority and I don't have access to 
that repo anymore.

> Sent: Wednesday, July 18, 2018 at 9:47 AM
> From: "Kai Koehne" 
> To: "Jason H" 
> Cc: scootergrisen , "development@qt-project.org" 
> 
> Subject: RE: RE: [Development] Qt Linguist should tell how many strings are 
> in a file
>
> > -Original Message-
> > [...]
> > It was unfortunately a combination of lokalise.co and my scripts. The
> > owner/opertator/developer of lokalise was very helpful in adjusting his 
> > service
> > which apparently supported Qt 3 to Qt4's format. He complained about issues
> > with the XML, which I later also experienced when writing my merge scripts.
> > We used lokalize to get the translations from the translators and all that 
> > entails
> > (user management, scope, etc)
> 
> Would be good to know exactly what the issues are.
> 
> > I would expect that Qt would adopt/focus on GNU gettext/PO files in the
> > future?
> 
> Well, you can use gettext already right now, for your own translations.
> 
> Anyhow, I doubt that we can change the existing tooling in Qt to gettext 
> without breaking user code. And given our focus on compatibility, I don't see 
> this happen any time soon.
> 
> Regards
> 
> Kai
> 
> 
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-18 Thread André Pönitz
On Wed, Jul 18, 2018 at 03:30:14PM +0200, Jason H wrote:
> It was unfortunately a combination of lokalise.co and my scripts. The
> owner/opertator/developer of lokalise was very helpful in adjusting
> his service which apparently supported Qt 3 to Qt4's format. He
> complained about issues with the XML, which I later also experienced
> when writing my merge scripts. We used lokalize to get the
> translations from the translators and all that entails (user
> management, scope, etc) 
> 
> I would expect that Qt would adopt/focus on GNU gettext/PO files in
> the future?

I would not expect that.

The use of Linguist and the Qt translation system in general is
completely optional for a Qt application, you can use any other
system for your own translations already now.I 

Apart from that, Qt translations and gettext are not equivalent
featurewise, neither is a super nor a subset of the other, so
*dropping* the Qt translation system will hurt someone.

Andre'
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-18 Thread Kai Koehne
> -Original Message-
> [...]
> It was unfortunately a combination of lokalise.co and my scripts. The
> owner/opertator/developer of lokalise was very helpful in adjusting his 
> service
> which apparently supported Qt 3 to Qt4's format. He complained about issues
> with the XML, which I later also experienced when writing my merge scripts.
> We used lokalize to get the translations from the translators and all that 
> entails
> (user management, scope, etc)

Would be good to know exactly what the issues are.

> I would expect that Qt would adopt/focus on GNU gettext/PO files in the
> future?

Well, you can use gettext already right now, for your own translations.

Anyhow, I doubt that we can change the existing tooling in Qt to gettext 
without breaking user code. And given our focus on compatibility, I don't see 
this happen any time soon.

Regards

Kai

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-18 Thread Jason H
It was unfortunately a combination of lokalise.co and my scripts. The 
owner/opertator/developer of lokalise was very helpful in adjusting his service 
which apparently supported Qt 3 to Qt4's format. He complained about issues 
with the XML, which I later also experienced when writing my merge scripts. We 
used lokalize to get the translations from the translators and all that entails 
(user management, scope, etc) 

I would expect that Qt would adopt/focus on GNU gettext/PO files in the future?


> Sent: Wednesday, July 18, 2018 at 5:20 AM
> From: "Kai Koehne" 
> To: "Jason H" , scootergrisen 
> Cc: "development@qt-project.org" 
> Subject: RE: [Development] Qt Linguist should tell how many strings are in a 
> file
>
> > -Original Message-
> > From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> > [...]
> > The closest I got was using some web service that we were able to export 
> > from
> > (https://lokalise.co/ ?). Also having a built-in google translate button 
> > would be
> > very helpful for the provisional translations.
> 
> So did you use localise.co in the end? If so, how did you organize the data
> Import and export?
> 
> For Qt Linguist itself: Nobody has been working on it lately. It does what it 
> does, 
> but extending it is not in the current development focus. Anyhow,
> if anybody fancies spending some time on it, be welcome to do so 
> 
> However, for more complicated setups I'd expect that people would use 
> other tools, probably using lconvert to convert .ts files back and forth 
> between standard formats like XLIFF. But we haven't been advertising
> this much.
> 
> Regards
> 
> Kai
> 
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-18 Thread Kai Koehne
> -Original Message-
> From: Development [mailto:development-bounces+kai.koehne=qt.io@qt-
> [...]
> The closest I got was using some web service that we were able to export from
> (https://lokalise.co/ ?). Also having a built-in google translate button 
> would be
> very helpful for the provisional translations.

So did you use localise.co in the end? If so, how did you organize the data
Import and export?

For Qt Linguist itself: Nobody has been working on it lately. It does what it 
does, 
but extending it is not in the current development focus. Anyhow,
if anybody fancies spending some time on it, be welcome to do so 

However, for more complicated setups I'd expect that people would use 
other tools, probably using lconvert to convert .ts files back and forth 
between standard formats like XLIFF. But we haven't been advertising
this much.

Regards

Kai

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-17 Thread Jason H
QtLinguist is horrible. It works, but it certainly does not support a modern 
workflow. Having maintained an app in 14+ languages, it doesn't do anything I 
actually need it to do. I'd like to have a website (contract translators don't 
want to install apps) that shows only those phrases needing translation, by the 
language enabled for that translator.  It was unclear what the work to be done 
by each translator was when using QtLinguist and multiple translators. Because 
software evolves while translations are being done, you have many in-flight 
versions needing reconciliation before release.  I ended up writing many 
scripts to do the diffs to create the final file. It shouldn't be that hard. 
There's also no audit information in the TS file. It also doesn't help that the 
.ts XML format itself is a little flawed.

The closest I got was using some web service that we were able to export from 
(https://lokalise.co/ ?). Also having a built-in google translate button would 
be very helpful for the provisional translations. 

Let me tell you about the time we translated (in a medical treatment app no 
less) the word "exit" to "door to the morgue" in Chinese.  


In the end it works, but this could be made a lot better. 


> Sent: Tuesday, July 17, 2018 at 1:20 PM
> From: scootergrisen 
> To: development@qt-project.org
> Subject: Re: [Development] Qt Linguist should tell how many strings are in a 
> file
>
> Den 17-07-2018 kl. 18:08 skrev Robert Löhning:
> > Am 09.07.2018 um 16:21 schrieb scootergrisen:
> >> I would like it if Qt Linguist would tell how many strings are in the 
> >> file.
> >> Menu View>Statistics only shows words and characters.
> > 
> > Doesn't it show this in its lower right corner?
> 
> It seems so.
> 
> Have never noticed it.
> 
> Would be good to include in the statistics.
> 
> Virtaal (other program) have a properties that shows how many 
> words/strings are translated/untranslated/fuzzy and procentages.
> 
> I think that is nice so know so i have an idea how much work is left.
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-17 Thread scootergrisen

Den 17-07-2018 kl. 18:08 skrev Robert Löhning:

Am 09.07.2018 um 16:21 schrieb scootergrisen:
I would like it if Qt Linguist would tell how many strings are in the 
file.

Menu View>Statistics only shows words and characters.


Doesn't it show this in its lower right corner?


It seems so.

Have never noticed it.

Would be good to include in the statistics.

Virtaal (other program) have a properties that shows how many 
words/strings are translated/untranslated/fuzzy and procentages.


I think that is nice so know so i have an idea how much work is left.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-17 Thread Robert Löhning

Am 09.07.2018 um 16:21 schrieb scootergrisen:

I would like it if Qt Linguist would tell how many strings are in the file.
Menu View>Statistics only shows words and characters.


Doesn't it show this in its lower right corner?

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-09 Thread scootergrisen

Den 09-07-2018 kl. 20:31 skrev Jason H:

It's XML, so you can probably write a XSLT :-)


How would that make Qt Linguist show how many strings the ts file have?
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Linguist should tell how many strings are in a file

2018-07-09 Thread Jason H
It's XML, so you can probably write a XSLT :-)


> Sent: Monday, July 09, 2018 at 10:21 AM
> From: scootergrisen 
> To: development@qt-project.org
> Subject: [Development] Qt Linguist should tell how many strings are in a file
>
> I would like it if Qt Linguist would tell how many strings are in the file.
> Menu View>Statistics only shows words and characters.
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
> 
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development