Mailinglist Archive: yast-devel (211 mails)

< Previous Next >
Re: [yast-devel] new translation server and YaST
Dne 13.10.2015 v 17:35 Arvin Schnell napsal(a):
On Tue, Oct 13, 2015 at 05:26:15PM +0200, Stanislav Brabec wrote:

Was this decision based on the SVN LCN work-flow, or it was
considered as best solution for YaST in general?

I think it is done that way to save disk space and esp. RAM
during installation. We have about 80 translations and they are
around 0.5 MB each, so having all of them in the inst-sys adds
40MB.

This has now a solution called translation bundles. See below.

It was invented just for the same reason. GNOME and many other projects already release translations together with sources.

In past (~10 years ago), packages contained all translations in the main package. Now it is not an issue any more.

Currently translation packages are inserted into the inst-sys on
demand.

If you make subpackages, e.g. yast2-installation-trans-cz, we
would end up with 1000 translation packages.

Currently it would be yast2-installation-lang with all translations in one.

From the packaging side, now we have a good and well working tools
for creating of translation bundles.

Please explain what a translation bundle is.

The tools work in this way:

foo.spec defines sub-package foo-lang (all languages inside, with special RPM tags identifying language specific files).

Tools in OBS collect all lang files from defined subset of packages (currently gnome, kde, common), joins them and re-splits it by language.

It means that enduser will install say bundle-lang-gnome-de and not gnome-calculator-lang.

But it is still possible to install new version of gnome-calculator with new translations gnome-calculator-lang. These translations will take precedence. (This is a SUSE glibc specific feature.)

--
Best Regards / S pozdravem,

Stanislav Brabec
software developer
---------------------------------------------------------------------
SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx
Lihovarsk√° 1060/12 tel: +49 911 7405384547
190 00 Praha 9 fax: +420 284 084 001
Czech Republic http://www.suse.cz/
PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups