Feed Advanced Search

Aug 24 2020

yurchor added a comment to T11070: Better (online) localization.

I think there is some infantile way of think that we see here: "I do not want to send translation in the Russian ML or to Russian coordinator (that's the requirement). I do not even want to know the team policies. I want to do it my way! The problems for other teams are acceptable to me!" That's how it sounds now.

Oh, wow.
I didn't wanted to seem rude to you so I didn't wrote anything about it but if you are speaking like this I might as well go on:
You in all the messages you wrote so far, including the one I am replying to, displayed exceptional infantile clinginess to the current system to the point you had to assign words a different meaning unique to your understanding, and do cheap manipulations like selective blindness and putting your own words into the mouth of your opponents.

Aug 24 2020, 4:26 PM · Localization, Goal Setting 2019
safaalfulaij added a comment to T11070: Better (online) localization.

Hello all.
I have been watching this for a while now, and I have to admit it: there are good points from both sides here.

Aug 24 2020, 4:19 PM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.

Hi, @yurchor!

Could you please explain your total opposition to having Weblate as another source of translations?

Aug 24 2020, 4:18 PM · Localization, Goal Setting 2019
dkazakov added a comment to T11070: Better (online) localization.

Could you please explain your total opposition to having Weblate as another source of translations? You are constantly saying that "the performance will be much lower", but noone in this thread says about forbidding direct pushes into svn/gitlab repository with translations. More than that, @sanecito has just confirmed that one can lock the file in Weblate and work with it in his/her own way. Why can't you just lock the file in Weblate and go translating it in Lokalize?

Aug 24 2020, 3:50 PM · Localization, Goal Setting 2019
zhigalin added a comment to T11070: Better (online) localization.

I think there is some infantile way of think that we see here: "I do not want to send translation in the Russian ML or to Russian coordinator (that's the requirement). I do not even want to know the team policies. I want to do it my way! The problems for other teams are acceptable to me!" That's how it sounds now.

Aug 24 2020, 3:46 PM · Localization, Goal Setting 2019
sanecito added a comment to T11070: Better (online) localization.

Weblate allows to download the MO file directly from the web interface. The user does not need any other tool to get the MO file.
Likewise, Weblate allows to upload a PO file if the user wants to use some offline translation tool.

Hi, @slavekb!

Perhaps you know, does Weblate supports some kind of "locking" a translation file by the maintainer of the project? Such locking would really help people like @yurchor to do bulk-translations offline.

I mean, we could make a policy that "a translator can ask to lock a specific file for not more than N days(?)" to do the translations offline safely and push them into SVN/Git. And the rest of the time the files would be available for translations by other people through web-interface.

Aug 24 2020, 3:13 PM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.

Speaking anecdotally, I'd contributed through such a system fixing at least two small mistakes I came across and probably also translating some outstanding Strings (rating from what I did in the past on other projects). Also I think there are several more anecdotes like this around in the KDE community. Only they are hard to use as scientific justification.

O-o-h, yes! Can we lower the barriers for the code to have more anecdotes about KDE software?

Online translation tools can make access to translation easier (not even in every case) but they definitely make the translation process deadly longer. Everything comes with its price.

I would doubt that they make the translation process deadly longer in every case. Maybe in some corner cases that get more relevant for power users. That is why I think it is pretty important to be able to maintain their workflow, at least in a way there won't be substantial or maybe noticeable disadvantages.

They can have some Hawthorne effect (can be seen for UserBase and WikiToLearn) for the short runs but they stagnate in the long run because of their indisposable issues.

https://en.wikipedia.org/wiki/Hawthorne_effect

So if you just want to have more items in the team lists (most of them with ~0 % of contribution) then go on with the online tools. But be aware that the translation coverage and the quality will go down then. Dixi.

You and someone other seems to be making a mistake by equalizing our code contribution barrier and our translation contribution barrier.
They are not the same.
A developer unable to use git and collaboration platforms like Phabricator and Gitlab is not a good developer.
Devs can pass the code contribution barrier by using their developer skills.
But for a translator the usage of SVN (or other VCS) and the ability to handle handle PO files is not a part of their area of competence.
Sure, they can learn it, if they need it.
But as formerly said, they don't need it.
Because this is a purely volunteering part (unlike for devs who are getting experience and contributing to their CV).
The fundamental difference between the code barrier and the i18n barrier is that the skills necessary to overcome said barrier are inside the area of competence for devs but outside for translators,
so, if a dev can't handle it then he is not good enough to be allowed to contribute, but if a translator can't overcome the current barrier this does not mean he is not good enough.

Aug 24 2020, 3:08 PM · Localization, Goal Setting 2019
zhigalin added a comment to T11070: Better (online) localization.

Ah, yes, an "occasional contribution" does not mean a "two strings contribution".
It means "not a regular contribution".
It can contain 2 string as well as 200.

Aug 24 2020, 3:07 PM · Localization, Goal Setting 2019
zhigalin added a comment to T11070: Better (online) localization.

Hello here, as one of the people interested in this issue I was following the task for a while and here I am to throw my 5 cents:

Aug 24 2020, 2:56 PM · Localization, Goal Setting 2019
pino added a comment to T11070: Better (online) localization.
  1. Yes, the GNOME system has problems, it simplifies the translator entry, but is difficult for reviewers (who has other jobs) and might even discourages new contributors. We can do better
Aug 24 2020, 2:15 PM · Localization, Goal Setting 2019
ltoscano added a comment to T11070: Better (online) localization.
Aug 24 2020, 12:13 PM · Localization, Goal Setting 2019
subins2000 added a comment to T11070: Better (online) localization.

What outcome do you expect for small teams? More translators (to become the large translation teams)? More translations (please explain how it can be implemented without strong coordination)?

Aug 24 2020, 12:06 PM · Localization, Goal Setting 2019
ltoscano added a comment to T11070: Better (online) localization.

Just a quick note: we can't and won't ever enable any automatic acceptance of strings.
It would like allowing automatic merging of code from people without commit permissions, and this is not allowed.
The final decision about the validity of a string must be done by someone with commit access.

Aug 24 2020, 11:53 AM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.

Q: Who will most likely need it ?
A: Small teams, teams that maintainer gets busy later and leaves soon. These teams often bounce up after a while, but those who comes will go through the same burden the old maintainer started with. A simple online tooling will help someone who's new and want to change some few strings. Perhaps that contributor will keep on.

Aug 24 2020, 11:43 AM · Localization, Goal Setting 2019
subins2000 added a comment to T11070: Better (online) localization.

Read every point here and both sides have valid arguments. Want to clarify some points :

Aug 24 2020, 11:34 AM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.

[...] Those have nothing to do with the tool used unless the tool has major issues that drive people away,

That is exactly the problem we have at the moment. The current workflow drives new contributors away.

In T11070#237998, @clel wrote:

O-o-h, yes! Can we lower the barriers for the code to have more anecdotes about KDE software?

I don't get what you are trying to say here.

Everybody can register on gitlab then use online editor (web-based) to fix the code and make it better. Low enough, isn't it? So why not use just online coding? And where all those new coders eager to improve the code and distracted by the high barriers of the old-fashioned previous systems?

You might not believe me, but I've seen a few people using the gitlab's online editor to modify patches and make commits. It is useful in some circumstances.

And, yes, here in Krita we constantly strive to lower the barriers for the code contributions: we make scripts for building Krita on all three major platforms, we make building AppImages easier, so people could use their custom builds in their workflow without waiting for a release.

And we have quite a good progress, btw. We are getting more and more people proposing MRs on GitLib. There is a lot of new contributors proposing some nice small changes.

Aug 24 2020, 11:19 AM · Localization, Goal Setting 2019
ognarb added a comment to T13519: More consistency in injection of translation artifacts inside project repositories.

From my point of view, using that for the all the kde repositories would make a lot of sense and would also help distro that provides nightly build like openSUSE Krypton to also package the app translations with their KDE packages. Another advantage is that developers can more easily test if the translations are working on their app or not.

Aug 24 2020, 10:00 AM · Localization
rempt added a comment to T13519: More consistency in injection of translation artifacts inside project repositories.

Periodical injection of PO files into source trees can make developers to avoid cross-checking git and SVN when there is a bug related to translation. Let's take an example of Krita bug https://bugs.kde.org/show_bug.cgi?id=408481. Although it was not Korean translation's fault, but if it really was then developers don't have to check Korean translation SVN tree and possibly bisect the revision where mistranslation had been introduced.

Aug 24 2020, 8:40 AM · Localization
dkazakov added a comment to T11070: Better (online) localization.

Weblate allows to download the MO file directly from the web interface. The user does not need any other tool to get the MO file.
Likewise, Weblate allows to upload a PO file if the user wants to use some offline translation tool.

Aug 24 2020, 7:53 AM · Localization, Goal Setting 2019
dkazakov added a comment to T11070: Better (online) localization.

[...] Those have nothing to do with the tool used unless the tool has major issues that drive people away,

Aug 24 2020, 7:04 AM · Localization, Goal Setting 2019

Aug 23 2020

pshinjo added a comment to T11070: Better (online) localization.
In T11070#238043, @clel wrote:

You might have some good points here. I understand that for an active team there is not much need for such a system. However, almost no language has all Strings translated already when looking at: https://l10n.kde.org/stats/gui/stable-kf5/team/. Quite the opposite if you look how much untranslated Strings there are for many languages. So apparently almost no team is active enough to reach a completeness level of 100 %. Thus I assume they lack the time and manpower.

Aug 23 2020, 10:57 PM · Localization, Goal Setting 2019
clel added a comment to T11070: Better (online) localization.

In that case I have to say that many users maybe just want to quickly correct some Strings for their application that they use.

This is the crux of the issue, you think random drive-by people translating 2 strings is a good thing, I am almost convinced it isn't.

Aug 23 2020, 10:06 PM · Localization, Goal Setting 2019
pshinjo added a comment to T11070: Better (online) localization.
In T11070#237987, @clel wrote:

In that case I have to say that many users maybe just want to quickly correct some Strings for their application that they use. Having to get familiar with a rather complicated and for that task to complex offline workflow is a high barrier.

Aug 23 2020, 9:53 PM · Localization, Goal Setting 2019
pshinjo added a comment to T13519: More consistency in injection of translation artifacts inside project repositories.

Periodical injection of PO files into source trees can make developers to avoid cross-checking git and SVN when there is a bug related to translation. Let's take an example of Krita bug https://bugs.kde.org/show_bug.cgi?id=408481. Although it was not Korean translation's fault, but if it really was then developers don't have to check Korean translation SVN tree and possibly bisect the revision where mistranslation had been introduced.

Aug 23 2020, 8:56 PM · Localization
aacid added a comment to T11070: Better (online) localization.

In that case I have to say that many users maybe just want to quickly correct some Strings for their application that they use.

Aug 23 2020, 8:37 PM · Localization, Goal Setting 2019
kucharczyk added a comment to T11070: Better (online) localization.

Web-based translation tools make translations more accessible. They don't help you: 1. get more contributors/keep the current ones 2. help maintain translation quality. Those have nothing to do with the tool used unless the tool has major issues that drive people away, or the tool actively makes people translate worse for some reason.

Aug 23 2020, 6:54 PM · Localization, Goal Setting 2019
frederico added a comment to T11070: Better (online) localization.

@clel , the main point here is the focus on the tool, as if we open an online translation tool, this would aggregate more translators. Well, I really don't think so. And I have some examples.

Aug 23 2020, 5:39 PM · Localization, Goal Setting 2019
clel added a comment to T11070: Better (online) localization.

I won't answer all your points this time, since I think it just won't make too much sense. There is clearly some misunderstanding on your side about my motives. You seem to think I would want to force you to use Weblate which is not true. Also I understand that using Weblate would slow down your workflow. However you use a problematic discussion style to outline that. To me it seems there is some truth to your points, but it is pretty hard to get to it, since the truth is sometimes covered behind some arguments that don't really make sense. This includes coming up with some non-standard definitions of words like "translator".

Aug 23 2020, 4:42 PM · Localization, Goal Setting 2019
pshinjo added a comment to T11070: Better (online) localization.
In T11070#238001, @clel wrote:

No. And you know what I mean. Typing, for sure, is as fast as for offline tools. But switching between translations is slow. And it eats plenty of time if you typing fast. It takes ~3-4 seconds just to switch between translations.

I just had a test with the dev tools in Firefox. It displayed me 1.45 s for loading the page with the next translation after submitting the previous one. I admit that this is noticeable, but accapteable and not really slowing down the translation process much. I tested on https://hosted.weblate.org/translate/osmand/ios/de/. Let me know if you have a different site where the performance is worse. Also, if it takes really 3-4 seconds for you, it might have to do with your setup. I don't say that to blame you, but to try to understand. That amount is clearly a bad user experience that one should try to avoid.

Aug 23 2020, 4:22 PM · Localization, Goal Setting 2019
yurchor updated the task description for T11070: Better (online) localization.
Aug 23 2020, 4:17 PM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.
In T11070#238001, @clel wrote:

No. And you know what I mean. Typing, for sure, is as fast as for offline tools. But switching between translations is slow. And it eats plenty of time if you typing fast. It takes ~3-4 seconds just to switch between translations.

I just had a test with the dev tools in Firefox. It displayed me 1.45 s for loading the page with the next translation after submitting the previous one. I admit that this is noticeable, but accapteable and not really slowing down the translation process much. I tested on https://hosted.weblate.org/translate/osmand/ios/de/. Let me know if you have a different site where the performance is worse. Also, if it takes really 3-4 seconds for you, it might have to do with your setup. I don't say that to blame you, but to try to understand. That amount is clearly a bad user experience that one should try to avoid.

Aug 23 2020, 4:11 PM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.
In T11070#237998, @clel wrote:

Fedora's translations are broken this way almost every week. The only savior is that they change very rarely.

The similar GNOME project (DL) is also *very* fragile (broken every month or so).

Are there any bug reports about this? Basically if what you write is true, those systems seem to handle conflicts rather poorly.

Just read the gnome-i18n@ for the last several months. The complaints there are just 1/3 of the real cases when DL was offline.

https://mail.gnome.org/archives/gnome-i18n/2020-March/msg00120.html

https://mail.gnome.org/archives/gnome-i18n/2020-March/msg00097.html

https://mail.gnome.org/archives/gnome-i18n/2020-April/msg00045.html

https://mail.gnome.org/archives/gnome-i18n/2020-May/msg00055.html

https://mail.gnome.org/archives/gnome-i18n/2020-May/msg00038.html

https://mail.gnome.org/archives/gnome-i18n/2020-June/msg00041.html

https://mail.gnome.org/archives/gnome-i18n/2020-June/msg00020.html

https://mail.gnome.org/archives/gnome-i18n/2020-July/msg00019.html

https://mail.gnome.org/archives/gnome-i18n/2020-August/msg00030.html

Thanks, will do so. So there are no actual bug reports then?

Aug 23 2020, 4:07 PM · Localization, Goal Setting 2019
clel added a comment to T11070: Better (online) localization.

No. And you know what I mean. Typing, for sure, is as fast as for offline tools. But switching between translations is slow. And it eats plenty of time if you typing fast. It takes ~3-4 seconds just to switch between translations.

Aug 23 2020, 3:28 PM · Localization, Goal Setting 2019
clel added a comment to T11070: Better (online) localization.
In T11070#237987, @clel wrote:

@yurchor I move the conversation here, since it seems to have nothing to do with the old task's topic anymore.

Fedora's translations are broken this way almost every week. The only savior is that they change very rarely.

The similar GNOME project (DL) is also *very* fragile (broken every month or so).

Are there any bug reports about this? Basically if what you write is true, those systems seem to handle conflicts rather poorly.

Just read the gnome-i18n@ for the last several months. The complaints there are just 1/3 of the real cases when DL was offline.

Aug 23 2020, 3:14 PM · Localization, Goal Setting 2019
clel added a comment to T11070: Better (online) localization.
In T11070#237987, @clel wrote:

@yurchor I move the conversation here, since it seems to have nothing to do with the old task's topic anymore.

In T13514#237939, @clel wrote:
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Sure. Just one thing that I do not understand is that people who do not really understand how the translation system works eagerly want to change that system.

When you write "Sure", I expect some more insights :) You wrote about problems you had but did not really give much detail about them. You talk about Weblate being much slower than offline tools while not mentioning which parts of the workflow you are talking about (admin stuff, translation itself, downloading and uploading PO files?).

All of them. There is no need for offline administration, translating every string through web interface is several times longer even in the zen mode, "downloading" new strings through Subversion then found what to translate in Lokalize takes ~5 seconds, analyzing big projects (Fedora is smaller than KDE now) in Weblate takes minutes. Uploading big files (libguestfs and its man, libvirt, Weblate docs, etc.) literally takes up to 10 minutes for just one file. I can imagine how long it would be to upload KStars, Krita and its docs (the last update required several dozens of files to be uploaded, the translation itself contains several hundred files), RKWard, KMyMoney or LabPlot.

Interesting. I only sporadically worked with online translation tools like Crowdin and Transifex, but never noticed any slow behaviour when translating strings. I assumed it would just be similar in speed to any offline tool. You write several times slower, that means a factor of 3 or higher? That only seems plausible for very specific tasks like searching for a wrongly translated String maybe that one wants to correct.

No. And you know what I mean. Typing, for sure, is as fast as for offline tools. But switching between translations is slow. And it eats plenty of time if you typing fast. It takes ~3-4 seconds just to switch between translations.

Aug 23 2020, 2:56 PM · Localization, Goal Setting 2019
yurchor added a comment to T11070: Better (online) localization.
In T11070#237987, @clel wrote:

@yurchor I move the conversation here, since it seems to have nothing to do with the old task's topic anymore.

In T13514#237939, @clel wrote:
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Sure. Just one thing that I do not understand is that people who do not really understand how the translation system works eagerly want to change that system.

When you write "Sure", I expect some more insights :) You wrote about problems you had but did not really give much detail about them. You talk about Weblate being much slower than offline tools while not mentioning which parts of the workflow you are talking about (admin stuff, translation itself, downloading and uploading PO files?).

All of them. There is no need for offline administration, translating every string through web interface is several times longer even in the zen mode, "downloading" new strings through Subversion then found what to translate in Lokalize takes ~5 seconds, analyzing big projects (Fedora is smaller than KDE now) in Weblate takes minutes. Uploading big files (libguestfs and its man, libvirt, Weblate docs, etc.) literally takes up to 10 minutes for just one file. I can imagine how long it would be to upload KStars, Krita and its docs (the last update required several dozens of files to be uploaded, the translation itself contains several hundred files), RKWard, KMyMoney or LabPlot.

Interesting. I only sporadically worked with online translation tools like Crowdin and Transifex, but never noticed any slow behaviour when translating strings. I assumed it would just be similar in speed to any offline tool. You write several times slower, that means a factor of 3 or higher? That only seems plausible for very specific tasks like searching for a wrongly translated String maybe that one wants to correct.

Aug 23 2020, 1:20 PM · Localization, Goal Setting 2019
clel updated subscribers of T11070: Better (online) localization.

@yurchor I move the conversation here, since it seems to have nothing to do with the old task's topic anymore.

Aug 23 2020, 12:33 PM · Localization, Goal Setting 2019

Aug 22 2020

Abella added a comment to T13514: Migrate KDE translations to Git.
In T13514#237939, @clel wrote:
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Sure. Just one thing that I do not understand is that people who do not really understand how the translation system works eagerly want to change that system.

When you write "Sure", I expect some more insights :) You wrote about problems you had but did not really give much detail about them. You talk about Weblate being much slower than offline tools while not mentioning which parts of the workflow you are talking about (admin stuff, translation itself, downloading and uploading PO files?).

All of them. There is no need for offline administration, translating every string through web interface is several times longer even in the zen mode, "downloading" new strings through Subversion then found what to translate in Lokalize takes ~5 seconds, analyzing big projects (Fedora is smaller than KDE now) in Weblate takes minutes. Uploading big files (libguestfs and its man, libvirt, Weblate docs, etc.) literally takes up to 10 minutes for just one file. I can imagine how long it would be to upload KStars, Krita and its docs (the last update required several dozens of files to be uploaded, the translation itself contains several hundred files), RKWard, KMyMoney or LabPlot.

Aug 22 2020, 5:11 PM · Localization
clel added a comment to T13514: Migrate KDE translations to Git.

I already wrote it: a central place is needed so that

Thanks for those points. As I said, if you already wrote that, I'd also been happy with just a link to that.

Aug 22 2020, 4:41 PM · Localization
yurchor added a comment to T13514: Migrate KDE translations to Git.
In T13514#237939, @clel wrote:
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Sure. Just one thing that I do not understand is that people who do not really understand how the translation system works eagerly want to change that system.

When you write "Sure", I expect some more insights :) You wrote about problems you had but did not really give much detail about them. You talk about Weblate being much slower than offline tools while not mentioning which parts of the workflow you are talking about (admin stuff, translation itself, downloading and uploading PO files?).

Aug 22 2020, 3:56 PM · Localization
ltoscano added a comment to T13514: Migrate KDE translations to Git.

I already wrote it: a central place is needed so that

  • people *NOT* using weblate don't have to checkout tons of repositories to contribute. That's enough in itself.
  • we may use posummit even with weblate to provide a single branch to everyone, which means that some logic to inject the translations to each branch will be needed somewhere else
  • it will be the only interface that weblate would have to deal with (because in 5 years we may change again tool, and we don't lose the history)
  • even in the case were part of the web tool would be the central place, still that would be the reference point, not the content of each repository which would be a mirror once we solve T12268.
Aug 22 2020, 3:34 PM · Localization
clel added a comment to T13514: Migrate KDE translations to Git.
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Sure. Just one thing that I do not understand is that people who do not really understand how the translation system works eagerly want to change that system.

Aug 22 2020, 3:01 PM · Localization
rempt added a comment to T13519: More consistency in injection of translation artifacts inside project repositories.

Note: any procedure that downloads anything at compile time is broken by design. The git repo for any project should be complete in itself and contain everything that is needed to build a binary releasable artefact. Every time anyone builds a project from a repo, the result should be the same as a build from a source release archive.

Aug 22 2020, 11:11 AM · Localization

Aug 21 2020

woltherav added a comment to T13514: Migrate KDE translations to Git.

Because they want to change it into something they might have an actual chance of understanding?

Aug 21 2020, 6:25 PM · Localization
yurchor added a comment to T13514: Migrate KDE translations to Git.
In T13514#237909, @clel wrote:

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Aug 21 2020, 6:09 PM · Localization
clel added a comment to T13514: Migrate KDE translations to Git.

Alright. Then I don't really understand what problems you have with Weblate. The things you wrote are too general for me to understand what the concrete problems are that you experience.

Aug 21 2020, 6:01 PM · Localization
yurchor added a comment to T13514: Migrate KDE translations to Git.
In T13514#237900, @clel wrote:

Weblate (as any online translation system) is still deadly slow compared to offline tools. On Hosted Weblate and Fedora's Weblate I witnessed constant git merge conflicts every week which should be resolved manually. This is a total nightmare for the KDE range of repositories number. Actually, I will have to prioritize some KDE translations because it is unrealistic to work with all of them through web interface (only ~15 minutes a day just to upload the translations, not saying about translating).

Weblate, Pootle, Wordbee, Transifex, Rosetta, etc. all tailored to leave several translations in a week or for *huge* teams.

Thanks for the insight. Maybe we should continue that on T11070 or T13311 to not hijack this task too much. I don't know the reasons behind those merge conflicts, so I cannot really judge the tools on that. Are you aware that you can download PO files from Weblate, use them in your offline workflow and upload them again?

Aug 21 2020, 5:05 PM · Localization
clel added a comment to T13514: Migrate KDE translations to Git.

Weblate (as any online translation system) is still deadly slow compared to offline tools. On Hosted Weblate and Fedora's Weblate I witnessed constant git merge conflicts every week which should be resolved manually. This is a total nightmare for the KDE range of repositories number. Actually, I will have to prioritize some KDE translations because it is unrealistic to work with all of them through web interface (only ~15 minutes a day just to upload the translations, not saying about translating).

Weblate, Pootle, Wordbee, Transifex, Rosetta, etc. all tailored to leave several translations in a week or for *huge* teams.

Aug 21 2020, 5:03 PM · Localization
clel added a comment to T11070: Better (online) localization.

Maybe we should let actual translators define the requirements of what they need/want?

Aug 21 2020, 4:51 PM · Localization, Goal Setting 2019
yurchor added a comment to T13514: Migrate KDE translations to Git.
In T13514#237894, @clel wrote:

Is there some other reference where it is described, why this will make things "much harder for the translators"? Basically you would in fact have one central location for all files, but per project. Ideally those could get summarized at a different place like Weblate maybe, so there is still a fast overview of all projects and languages needing attention for example. Not sure whether that is supported by Weblate, though.

Not everyone will use weblate and we would have tons of repositories. It is not a path

The amount of repositories would not grow. The translations would just be incorporated and managed in the existing repositories for each project. The amount is also just as big as the already existing amount of projects. Can you elaborate what would be against using Weblate to manage those repositories? Maybe you can do that specifically in the task about evaluating an online translation tool to avoid duplication.

Aug 21 2020, 4:48 PM · Localization
pino added a comment to T13311: Evaluate the addition of a web-based translation system.

Shall we discuss how the system is going to handle multiple translation branches (e.g. trunk/l10n-kf5, branches/stable/l10n-kf5, ...) ?

Here are the obvious options:

  1. Use a web-based translation system that natively supports multiple "branches" for .po files. Does anyone know which of the listed systems have such support?
  2. Enable PO Summit for all team, then wire the web system up to the .po files gathered (unified/merged) from all branches.
  3. ...anything else?
Aug 21 2020, 4:33 PM · Localization, Websites
clel added a comment to T13514: Migrate KDE translations to Git.

Is there some other reference where it is described, why this will make things "much harder for the translators"? Basically you would in fact have one central location for all files, but per project. Ideally those could get summarized at a different place like Weblate maybe, so there is still a fast overview of all projects and languages needing attention for example. Not sure whether that is supported by Weblate, though.

Not everyone will use weblate and we would have tons of repositories. It is not a path

Aug 21 2020, 4:32 PM · Localization
clel updated subscribers of T13311: Evaluate the addition of a web-based translation system.

Shall we discuss how the system is going to handle multiple translation branches (e.g. trunk/l10n-kf5, branches/stable/l10n-kf5, ...) ?

Here are the obvious options:

  1. Use a web-based translation system that natively supports multiple "branches" for .po files. Does anyone know which of the listed systems have such support?
  2. Enable PO Summit for all team, then wire the web system up to the .po files gathered (unified/merged) from all branches.
  3. ...anything else?
Aug 21 2020, 4:16 PM · Localization, Websites
clel updated the task description for T13311: Evaluate the addition of a web-based translation system.
Aug 21 2020, 4:10 PM · Localization, Websites
aacid added a comment to T11070: Better (online) localization.
In T11070#237855, @clel wrote:

What modern tools are you talking about? Is this some online tool, some commandline tool or something else? Can you reference some example for such tool?

Well, I'm not a translator. I just wanted to add a requirement to the list.

Aug 21 2020, 3:52 PM · Localization, Goal Setting 2019
slavekb added a comment to T11070: Better (online) localization.

Well, I'm not a translator. I just tried the first commercial tool google suggested me and it supported compilation. I don't know if weblate supports that (perhaps it does). I just wanted to add a requirement to the list. I believe, compilation of .mo files is almost a mandatory feature for the user. Installing gettext and compiling translation files on non-linux systems is not an acceptable solution.

Aug 21 2020, 1:47 PM · Localization, Goal Setting 2019
dkazakov added a comment to T11070: Better (online) localization.
In T11070#237855, @clel wrote:
Aug 21 2020, 1:05 PM · Localization, Goal Setting 2019
subins2000 added a comment to T11070: Better (online) localization.
  • the user should be able change translation of one string, test it in the application and send the result for integration/review in 15 minutes.
Aug 21 2020, 11:07 AM · Localization, Goal Setting 2019
subins2000 added a comment to T13311: Evaluate the addition of a web-based translation system.

I also think there would be conflicts if somebody does a translation of a .po file, uploads it directly through SVN and at the same time translations for the same lines come from Weblate, correct?

Yes, it would

Aug 21 2020, 5:12 AM · Localization, Websites

Aug 20 2020

aspotashev added a comment to T13311: Evaluate the addition of a web-based translation system.

Shall we discuss how the system is going to handle multiple translation branches (e.g. trunk/l10n-kf5, branches/stable/l10n-kf5, ...) ?

Aug 20 2020, 8:50 PM · Localization, Websites
woltherav added a comment to T13311: Evaluate the addition of a web-based translation system.

At the risk of this being off-topic, but are those conflicts also a big problem because of the way SVN handles merges, or would git be equally bad at it?

Aug 20 2020, 7:55 PM · Localization, Websites
ltoscano added a comment to T13514: Migrate KDE translations to Git.

Is there some other reference where it is described, why this will make things "much harder for the translators"? Basically you would in fact have one central location for all files, but per project. Ideally those could get summarized at a different place like Weblate maybe, so there is still a fast overview of all projects and languages needing attention for example. Not sure whether that is supported by Weblate, though.

Aug 20 2020, 7:44 PM · Localization
clel added a comment to T13514: Migrate KDE translations to Git.

Um, yes, it is? Why else come up with "an other side of the argument"? In any case, problems with a practice we already support can hardly be relevant in discussing a practice we don't support yet?

Aug 20 2020, 7:29 PM · Localization
clel added a comment to T11070: Better (online) localization.

@dkazakov I think the requirement is legitimate, at least this is the topmost task we currently have for improvement of the localization and the request seems to be in that scope. I also think that @ltoscano agrees reading his comment above.

Aug 20 2020, 7:05 PM · Localization, Goal Setting 2019
clel added a comment to T13311: Evaluate the addition of a web-based translation system.

Thanks for the insight. I also think there would be conflicts if somebody does a translation of a .po file, uploads it directly through SVN and at the same time translations for the same lines come from Weblate, correct?

Aug 20 2020, 6:58 PM · Localization, Websites
nalvarez added a comment to T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository.

@nalvarez, could you please update on the status of this ticket? Are you blocked on something? Do you need help?

Aug 20 2020, 3:54 AM · Localization

Aug 19 2020

ltoscano added a comment to T13514: Migrate KDE translations to Git.

I know it may seems weird that I say this again, but this point is really out of scope for this specific task.
It is tracked by T13519

Well, this task talks about "injection" as about decided fact. But I tried to understand why git and gitlab themselves cannot be used for that.

Aug 19 2020, 8:27 PM · Localization
dkazakov added a comment to T13514: Migrate KDE translations to Git.

I know it may seems weird that I say this again, but this point is really out of scope for this specific task.
It is tracked by T13519

Aug 19 2020, 8:03 PM · Localization
ltoscano added a comment to T13514: Migrate KDE translations to Git.
In T13514#237774, @pino wrote:

Instead of suggesting solutions, please describe your requirements, or in general what you would like to see.

Well, there are two requirements:

  1. When releasing, setting a tag in the git repository should be enough to make a release. The tarball should be created automatically by gitlab's "releases" feature. Right now the scripts for making tarballs out of SVN break regularly, so every release we should fix it in one or another way. And these scripts are not fool-proof. We have generated and published incorrect tarballs several times.
  2. The developers should have an easy way to build/install translations. Preferably, these translations should be synced with the current branch/commit (I often switch between master and krita/4.3 branches).

    I've also added a workflow requirement into a different task as you asked, but got a weird reply to it: https://phabricator.kde.org/T11070#237775
Aug 19 2020, 7:58 PM · Localization
dkazakov added a comment to T13514: Migrate KDE translations to Git.
In T13514#237774, @pino wrote:

Instead of suggesting solutions, please describe your requirements, or in general what you would like to see.

Aug 19 2020, 7:56 PM · Localization
dkazakov added a comment to T11070: Better (online) localization.

Sorry for the previous comment. This is the task about the online tool. Your requirement about editing is satisfied. About testing, we can create other tools to help the compilation/replacement of the po file, but if the injection of po files is implemented (that one is a different task), that's going to be easy.

Aug 19 2020, 7:48 PM · Localization, Goal Setting 2019
ltoscano added a comment to T11070: Better (online) localization.

Sorry for the previous comment. This is the task about the online tool. Your requirement about editing is satisfied. About testing, we can create other tools to help the compilation/replacement of the po file, but if the injection of po files is implemented (that one is a different task), that's going to be easy.

Aug 19 2020, 7:47 PM · Localization, Goal Setting 2019
dkazakov added a comment to T11070: Better (online) localization.

I think we should make a requirement for the updated workflow like that:

  • the user should be able change translation of one string, test it in the application and send the result for integration/review in 15 minutes.

This is not related to this task.

Aug 19 2020, 7:47 PM · Localization, Goal Setting 2019
ltoscano added a comment to T11070: Better (online) localization.

I think we should make a requirement for the updated workflow like that:

  • the user should be able change translation of one string, test it in the application and send the result for integration/review in 15 minutes.
Aug 19 2020, 7:45 PM · Localization, Goal Setting 2019
dkazakov added a comment to T11070: Better (online) localization.

I think we should make a requirement for the updated workflow like that:

Aug 19 2020, 7:43 PM · Localization, Goal Setting 2019
pino added a comment to T13514: Migrate KDE translations to Git.

Well, we can discuss the layout. I don't think that "one repo - one application" will make much download amount for the application translators. We can also split it in "one repo - one language for one application" manner. It might be too granular, but it might work and save time for people who work on all applications at the same time.

Aug 19 2020, 7:41 PM · Localization
ltoscano added a comment to T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository.

@nalvarez, could you please update on the status of this ticket? Are you blocked on something? Do you need help?

Aug 19 2020, 7:39 PM · Localization
dkazakov added a comment to T13514: Migrate KDE translations to Git.
In T13514#237770, @pino wrote:
Aug 19 2020, 7:34 PM · Localization
aspotashev added a comment to T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository.

@nalvarez, could you please update on the status of this ticket? Are you blocked on something? Do you need help?

Aug 19 2020, 7:28 PM · Localization
pino added a comment to T13514: Migrate KDE translations to Git.

I don't really understand why cannot we use submodules for that? It looks like a submodule can track external branches. Why cannot we just add a submodule into each KDE project that fetches translations from an external repo by tracking some specific branch?

Aug 19 2020, 6:57 PM · Localization
dkazakov added a comment to T13514: Migrate KDE translations to Git.

I don't really understand why cannot we use submodules for that? It looks like a submodule can track external branches. Why cannot we just add a submodule into each KDE project that fetches translations from an external repo by tracking some specific branch?

Aug 19 2020, 6:27 PM · Localization
ltoscano created T13519: More consistency in injection of translation artifacts inside project repositories.
Aug 19 2020, 6:01 PM · Localization
rempt added a comment to T13514: Migrate KDE translations to Git.

Boud, this is not the proper way to move this forward. Nothing in what Albert wrote is about not doing this.

Aug 19 2020, 5:16 PM · Localization
ltoscano added a comment to T13514: Migrate KDE translations to Git.

No, it's not irrelevant. It doesn't matter that .po are only copied, if the translation in stable branch and the one in development branch diverge (which they eventually will), you'll get merge conflicts (when merging stable to development)

Yes, it is irrelevant. I've never seen anyone merge an entire stable branch in one merge commit into the unstable branch; normally, people cherry-pick patches. Just don't cherry-pick the po files.

In any case, the advantages of having a po folder in the project git repo outweighs all of that to me, so if you are so intent on blocking this with irrelevant arguments, well, I'll do it myself.

Aug 19 2020, 4:36 PM · Localization
rempt added a comment to T13514: Migrate KDE translations to Git.

No, it's not irrelevant. It doesn't matter that .po are only copied, if the translation in stable branch and the one in development branch diverge (which they eventually will), you'll get merge conflicts (when merging stable to development)

Aug 19 2020, 4:33 PM · Localization
aacid added a comment to T13514: Migrate KDE translations to Git.

Just to show the other side of the argument, i've had lots of developers asking for scripty not to commit to the repo the .desktop translations back to the repos since it creates merge conflicts for them.

That is not "another side of the argument". It's irrelevant, because .desktop files are edited by developers, po files would only be copied in.

Aug 19 2020, 3:39 PM · Localization
rempt added a comment to T13514: Migrate KDE translations to Git.

Just to show the other side of the argument, i've had lots of developers asking for scripty not to commit to the repo the .desktop translations back to the repos since it creates merge conflicts for them.

Aug 19 2020, 3:30 PM · Localization
aacid added a comment to T13514: Migrate KDE translations to Git.

This will make things easier for developers, packagers and user’s who like to compile applications themselves (instead of using packages, or just for testing a new feature or a bug fix).

And it follows the most common practice across the free software world, too, so there's familiarity for contributors, too.

But having a non-central location of the PO files will make things much harder for the translators (for various reasons that I won’t get into now).

May we have the best of both worlds? That is, have a central repository for translations, for use by the translators, and automatic copying of the translations into each application’s repository by scripty. Basically the same thing that happens with translations in .desktop files. They are translated centrally, but any updates to the .po files are merged into the .desktop files in each application’s repository by scripty each night. Having a similar thing be done with the .po files would be nice. Plain .po files would be copied directly, while other formats (e.g., .ts files used by some Qt applications) would be converted from the .po files.

And to avoid anyone manually editing the ‘.po’ files in a an applications repository, perhaps a pre-commit hook could be added so that only scripty is allowed to commit changes to the files.

Well, that would be a huge improvement for sure.

Aug 19 2020, 3:25 PM · Localization
subins2000 added a comment to T13311: Evaluate the addition of a web-based translation system.

That GSoC proposal didn't go through. My initial suggestion was to replace the SVN localization with an online tool, this would mean straight commit to SVN won't be allowed. But with further communication, learning and setup, I realized that this have cons too. So, I changed it from entire replacement, to side-by-side system.

Aug 19 2020, 3:22 PM · Localization, Websites
clel added a parent task for T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository: T13514: Migrate KDE translations to Git.
Aug 19 2020, 2:16 PM · Localization
clel added a subtask for T13514: Migrate KDE translations to Git: T4803: Consolidate {branches/stable,trunk}/l10n-{kde4,kf5}/scripts into a git repository.
Aug 19 2020, 2:16 PM · Localization
clel added a comment to T13311: Evaluate the addition of a web-based translation system.

Thanks @subins2000 for adding a report of your experience and also some documentation. I added this information to the task description.

Aug 19 2020, 2:12 PM · Localization, Websites
clel renamed T13311: Evaluate the addition of a web-based translation system from Evaluating the addition of a web-based translation system to Evaluate the addition of a web-based translation system.
Aug 19 2020, 1:55 PM · Localization, Websites
clel added a comment to T13514: Migrate KDE translations to Git.

Thanks! Maybe we should make this a subtask of that as well?

EDIT: especially because we're literally having duplicate conversations in both tasks :D

Aug 19 2020, 1:46 PM · Localization
clel added a project to T11070: Better (online) localization: Localization.
Aug 19 2020, 1:44 PM · Localization, Goal Setting 2019
clel added a parent task for T13514: Migrate KDE translations to Git: T11070: Better (online) localization.
Aug 19 2020, 1:43 PM · Localization
rempt added a comment to T13514: Migrate KDE translations to Git.
Aug 19 2020, 12:30 PM · Localization
dkazakov added a comment to T13514: Migrate KDE translations to Git.
In T13514#237645, @pino wrote:

A "l10n" repository with submodules will not really work: git submodules are not like svn externals, and they point to a specific revision and not to a branch. Considering how often files in the repository of each language will change (at least once every day), it would mean constantly updating the submodules in the "l10n" repository... no please.

Aug 19 2020, 7:54 AM · Localization
aacid added a comment to T13514: Migrate KDE translations to Git.

[...] to include the po files in the source repositories, for the following reasons:

This will make things easier for developers, packagers and user’s who like to compile applications themselves (instead of using packages, or just for testing a new feature or a bug fix).
But having a non-central location of the PO files will make things much harder for the translators (for various reasons that I won’t get into now).

Can it be solved with git-submodules? It looks like submodules were invented exactly for this purpose, weren't they?

Aug 19 2020, 7:51 AM · Localization
aacid added a comment to T13514: Migrate KDE translations to Git.

TBH I'm mostly ignoring this task, but i'm at least going to answer your initial points

Aug 19 2020, 7:49 AM · Localization