https://progress.opensuse.org/https://progress.opensuse.org/themes/openSUSE/favicon/favicon.ico?15829177842022-02-25T12:08:42ZopenSUSE Project Management ToolopenSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4959972022-02-25T12:08:42Zlkocmanlubos.kocman@suse.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Blocked</i></li><li><strong>Assignee</strong> set to <i>lkocman</i></li></ul><p>blocked on access <a href="https://progress.opensuse.org/issues/107641" class="external">https://progress.opensuse.org/issues/107641</a></p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4960182022-02-25T12:45:19Zfavogtfvogt@suse.com
<ul><li><strong>Assignee</strong> deleted (<del><i>lkocman</i></del>)</li></ul><p>It's unfortunately a more involved than that. The script still expects that all packages are built within <code>openSUSE:Leap:15.x</code>, but after CtLG that's no longer true.<br>
Copying tarballs from backports would be simple to add, but unfortunately the biggest issue is SLE. There's no rsync access to IBS (that I know of) and the OBS mirror does not contain the tarballs.</p>
<p>So either we'll have to get the SLE files somehow or drop the mechanism altogether. Unfortunately at least YaST relies on the mechanism, as the .desktop files it ships do not contain translations on their own.</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4960212022-02-25T12:45:42Zfavogtfvogt@suse.com
<ul><li><strong>Assignee</strong> set to <i>lkocman</i></li></ul> openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4966512022-03-01T02:07:27Zsbrabecsbrabec@suse.com
<ul></ul><p>I just ran the scripts and updated:<br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727" class="external">https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727</a><br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81" class="external">https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81</a></p>
<p>Please let me know whether I should revert. I think that it is not a big issue, as we really want to translate yast and directories.</p>
<p>That the rest should not even exist, as it just duplicates the upstream translation. It made sense 15 years ago, when the upstream ignored I18N, and we wanted to be able to make post-release translation updated.</p>
<p>I think that we should start to deprecate the rest, check the upstream translation, send the unique translations to the upstream and drop the rest that already has upstream translations.</p>
<p>The way we are translating desktop files is pretty confusing and SUSE specific. For example see <a href="https://bugzilla.opensuse.org/show_bug.cgi?id=1118859" class="external">https://bugzilla.opensuse.org/show_bug.cgi?id=1118859</a></p>
<p>There is more in the documentation I am working on (internal only):<br>
<a href="https://confluence.suse.com/display/packaging/Preparing+translations+for+new+SUSE+product" class="external">https://confluence.suse.com/display/packaging/Preparing+translations+for+new+SUSE+product</a></p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4967382022-03-01T10:12:38Zlkocmanlubos.kocman@suse.com
<ul></ul><p>Thank you very much Stanislav </p>
<p>Is there any next step than needs to happen, to get these in place?</p>
<p>E.g. <a href="https://build.opensuse.org/package/show/openSUSE:Leap:15.4/update-desktop-files" class="external">https://build.opensuse.org/package/show/openSUSE:Leap:15.4/update-desktop-files</a> not sure if this doesn't have to be rebuild for SLE 15 SP4 (it's comming from SLE-15:GA/Update)</p>
<p>Thank you</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4967412022-03-01T10:12:44Zlkocmanlubos.kocman@suse.com
<ul><li><strong>Status</strong> changed from <i>Blocked</i> to <i>In Progress</i></li></ul> openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4972602022-03-02T17:47:19Zsbrabecsbrabec@suse.com
<ul></ul><p>Next step: Wait for translations and submit (to SLE, the package is common). As I see not new strings after this run, there is no need to wait for translations.</p>
<p>packages-i18n is another story. It has many new strings in patterns (the only domain that makes real sense to translate).</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4974972022-03-03T10:21:38Zfavogtfvogt@suse.com
<ul></ul><p>sbrabec wrote:</p>
<blockquote>
<p>I just ran the scripts and updated:<br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727" class="external">https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727</a><br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81" class="external">https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81</a></p>
</blockquote>
<p>How did you pull the source strings from SLE and Backports? I don't see any change adding that.</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4975032022-03-03T10:33:33Zfavogtfvogt@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Blocked</i></li></ul><p>favogt wrote:</p>
<blockquote>
<p>sbrabec wrote:</p>
<blockquote>
<p>I just ran the scripts and updated:<br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727" class="external">https://github.com/openSUSE/desktop-file-translations/commit/8abf067773cd45ec163cb3022ab331e41f9a0727</a><br>
<a href="https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81" class="external">https://github.com/openSUSE/desktop-file-translations/commit/05f03b45827723f6346fb65f35273881ad073d81</a></p>
</blockquote>
<p>How did you pull the source strings from SLE and Backports? I don't see any change adding that.</p>
</blockquote>
<p>As expected, it's missing most content since the 15.3 update:</p>
<pre><code>commit 7db31a526f991956a8681910fbd7e067cff44ed4
Author: Stanislav Brabec <sbrabec@suse.cz>
Date: Tue Feb 2 23:32:02 2021 +0100
Update strings from Leap 15.2.
50-pot/appstreamdata.pot | 7654 +------------------------------------------------------
50-pot/polkitaction.pot | 4012 +----------------------------
50-pot/update-desktop-files-apps.pot | 27101 ++++++---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
50-pot/update-desktop-files.pot | 1991 +--------------
4 files changed, 801 insertions(+), 39957 deletions(-)
</code></pre> openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4975062022-03-03T10:41:19Zfavogtfvogt@suse.com
<ul></ul><blockquote>
<p>Please let me know whether I should revert. I think that it is not a big issue, as we really want to translate yast and directories.</p>
</blockquote>
<p>The issue is YaST and directories are from SLE and currently not updated.</p>
<p>The reason why this wasn't noticed yet is that the script does not delete the old .pot files before copying over the new ones, and so yast.pot isn't touched at all.</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4983222022-03-07T21:09:27Zsbrabecsbrabec@suse.com
<ul></ul><p>favogt wrote:</p>
<blockquote>
<blockquote>
<p>Please let me know whether I should revert. I think that it is not a big issue, as we really want to translate yast and directories.</p>
</blockquote>
<p>The issue is YaST and directories are from SLE and currently not updated.</p>
<p>The reason why this wasn't noticed yet is that the script does not delete the old .pot files before copying over the new ones, and so yast.pot isn't touched at all.</p>
</blockquote>
<p>OK. Thanks. If you have some ideas to improve it, feel free to do it. I am trying to maintain it just because nobody else wants.</p>
<p>It would be nice to slowly migrate to a standard way translations are done: As part of the source code projects. These complicated string collectors and distributors are prone to errors.</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=4984032022-03-08T07:54:04Zfavogtfvogt@suse.com
<ul></ul><p>sbrabec wrote:</p>
<blockquote>
<p>favogt wrote:</p>
<blockquote>
<blockquote>
<p>Please let me know whether I should revert. I think that it is not a big issue, as we really want to translate yast and directories.</p>
</blockquote>
<p>The issue is YaST and directories are from SLE and currently not updated.</p>
<p>The reason why this wasn't noticed yet is that the script does not delete the old .pot files before copying over the new ones, and so yast.pot isn't touched at all.</p>
</blockquote>
<p>OK. Thanks. If you have some ideas to improve it, feel free to do it.</p>
</blockquote>
<p>Unfortunately I don't have a better idea than doing the downloads through the IBS API one package at a time. rsync would make that quicker, but that wouldn't solve the issue with SP layering and maintenance updates having separate binaries which need to be handled as well.</p>
<blockquote>
<p>I am trying to maintain it just because nobody else wants.</p>
</blockquote>
<p>Same...</p>
<p>I really wonder why this is done by the openSUSE side though and not the SLE side. It seems like this is necessary for SLE as well and should be dealt with there.</p>
<blockquote>
<p>It would be nice to slowly migrate to a standard way translations are done: As part of the source code projects. These complicated string collectors and distributors are prone to errors.</p>
</blockquote>
<p>Fully agreed. It might work to go the way of downloading only YaST and other relevant desktop files through the API. However, as the result has to be submitted to SLE, which is in a late stage of development, it might be too late to submit this anyway and it won't matter until SP5...</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=5002552022-03-11T18:04:17Zsbrabecsbrabec@suse.com
<ul></ul><p>favogt wrote:</p>
<blockquote>
<p>I really wonder why this is done by the openSUSE side though and not the SLE side. It seems like this is necessary for SLE as well and should be dealt with there.</p>
</blockquote>
<p>In past, there were two branches, two translation projects. And even two independent translations. When we started to use Weblate, both were merged. And now, when Leap and SLE uses the same binaries, I used openSUSE data to extract.</p>
<p>openSUSE has more packages. And SLE translation budget covers only yast and directories, which are hopefully equal for both. Or at least I hope so.</p>
<blockquote>
<blockquote>
<p>It would be nice to slowly migrate to a standard way translations are done: As part of the source code projects. These complicated string collectors and distributors are prone to errors.</p>
</blockquote>
<p>Fully agreed. It might work to go the way of downloading only YaST and other relevant desktop files through the API. However, as the result has to be submitted to SLE, which is in a late stage of development, it might be too late to submit this anyway and it won't matter until SP5...</p>
</blockquote>
<p>Well, if the translation will migrate to particular Git repositories, no API will be needed. <code>make po-update</code> or so will update po files, and Weblate will automatically fetch it. Translations could be ready even before the version release.</p>
<p>Yes, with that approach, packages has to be translated before new version is released. But it is a way most normal projects work: soft freeze, string freeze, hard freeze, release.</p>
<p>But it needs to move responsibility for the translation to the package maintainers instead of openSUSE Weblate server maintainer. Now the Weblate maintainer has to manually check that new translations were submitted to OBS.</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=5208322022-05-19T11:43:29Zlkocmanlubos.kocman@suse.com
<ul></ul><p>Team let me share this with particular ALP group. I feel we won't get this done for 15.4 and I suppose SLES 15 SPX might be hesitant to change workflow at this point in time (I'll cc Rado RM for 15 SP5).</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=5208412022-05-19T11:56:24Zlkocmanlubos.kocman@suse.com
<ul></ul><p>Team let me share this with particular ALP group. I feel we won't get this done for 15.4 and I suppose SLES 15 SPX might be hesitant to change workflow at this point in time (I'll cc Rado RM for 15 SP5).</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=5208442022-05-19T11:58:19Zlkocmanlubos.kocman@suse.com
<ul><li><strong>Due date</strong> set to <i>2022-05-27</i></li></ul><p>Emailed Padraig and Julia as per recommendation of Frank. Fabian and Stanislav are in cc. I'll keep the ticket in blocked state to keep track of the issue, but otherwise please consider it rejected post May 27th (GM build ETA)</p>
openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=6233842023-04-14T13:20:43Zlkocmanlubos.kocman@suse.com
<ul><li><strong>Status</strong> changed from <i>Blocked</i> to <i>In Progress</i></li></ul> openSUSE Leap 15.4 - action #100023: run desktop-file translation extractorhttps://progress.opensuse.org/issues/100023?journal_id=6422452023-06-12T11:37:10Zlkocmanlubos.kocman@suse.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li></ul>