[zypp-devel] Repo refresh: Download of translated package descriptions
Hi. @susetags repos: Upon repo refresh we currently download package descriptions for English (packages.en) and the locale the shell uses (LC_ALL, LC_MESSAGES, LANG). Coolo asked to change this for 12.1 and download package descriptions as far as available for all RequestedLocales (i.e. the languages to be supported by the system; the ones which get their language specific packages installed automatically). I don't know if everybody is happy with this additional download (I guess at most 1M per language), so I also think about adding a zypp.cong option so you can override/tune the new default. ## ## Translated package descriptions to download from repos. ## ## A list of locales for which translated package descriptions should ## be downloaded, in case they are availavble and the repo supports this. ## Not all repo formats support downloading specific translations only. ## ## Valid values: List of locales like 'en', 'en_US'... ## Default value: RequestedLocales ## ## If data for a specific locale are not available, we try to find some ## fallback. Translationss for 'en' are always downloaded. ## # repo.refresh.locales = en, de -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
* Michael Andres
Hi.
@susetags repos:
Upon repo refresh we currently download package descriptions for English (packages.en) and the locale the shell uses (LC_ALL, LC_MESSAGES, LANG).
Coolo asked to change this for 12.1 and download package descriptions as far as available for all RequestedLocales (i.e. the languages to be supported by the system; the ones which get their language specific packages installed automatically).
Whats the rationale for this request ?
I don't know if everybody is happy with this additional download (I guess at most 1M per language), so I also think about adding a zypp.cong option so you can override/tune the new default.
*please* do, refreshings repos should be a fast operation and not be bogged down by downloading useless locales. Klaus --- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wed, Oct 19, 2011 at 11:58:19AM +0200, Klaus Kaempf wrote:
*please* do, refreshings repos should be a fast operation and not be bogged down by downloading useless locales.
<rant> Tell that to the kernel folks that make the update repo explode in size by putting every kernel symbol in the provides... list </rant> M. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wednesday 19 October 2011 11:58:19 Klaus Kaempf wrote:
Coolo asked to change this for 12.1 and download package descriptions as far as available for all RequestedLocales (i.e. the languages to be supported by the system; the ones which get their language specific packages installed automatically).
Whats the rationale for this request ?
Coolo expects a system supporting 'en,fr,de' to be used by English, French and German users. If they query packages they want to see English, French and German descriptions (if available).
I don't know if everybody is happy with this additional download (I guess at most 1M per language), so I also think about adding a zypp.cong option so you can override/tune the new default.
*please* do, refreshings repos should be a fast operation and not be bogged down by downloading useless locales.
We can also use the option to override/tune the existing default. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
* Michael Andres
On Wednesday 19 October 2011 11:58:19 Klaus Kaempf wrote:
Coolo asked to change this for 12.1 and download package descriptions as far as available for all RequestedLocales (i.e. the languages to be supported by the system; the ones which get their language specific packages installed automatically).
Whats the rationale for this request ?
Coolo expects a system supporting 'en,fr,de' to be used by English, French and German users. If they query packages they want to see English, French and German descriptions (if available).
Ah, makes sense. My fault, I read 'all available locales' in the previous mail. Anyways, I still think it should be configurable since not every user needs package information. Klaus --- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On 10/19/2011 01:42 PM, Michael Andres wrote:
Coolo expects a system supporting 'en,fr,de' to be used by English, French and German users. If they query packages they want to see English, French and German descriptions (if available).
But this would only affect a system that has more than one locale configured right? If I only have english then I would still only download only english? Duncan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Monday 24 October 2011 09:59:25 Duncan Mac-Vicar P. wrote:
On 10/19/2011 01:42 PM, Michael Andres wrote:
Coolo expects a system supporting 'en,fr,de' to be used by English, French and German users. If they query packages they want to see English, French and German descriptions (if available).
But this would only affect a system that has more than one locale configured right? If I only have english then I would still only download only english?
Yes. - You get translations only for the locales you configured. - You can also override this in zypp.conf and explicitly set the locales you want to have downloaded. - This is supported by susetags sources only (we have no standalone translation files for yum), i.e. for the DVD like sources which usually are created once and never refresh. Update/buildservice sources ate YUM format, so here won't change anything. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
On Wednesday 19 October 2011 11:39:03 Michael Andres wrote:
Hi.
@susetags repos:
Upon repo refresh we currently download package descriptions for English (packages.en) and the locale the shell uses (LC_ALL, LC_MESSAGES, LANG).
Coolo asked to change this for 12.1 and download package descriptions as far as available for all RequestedLocales (i.e. the languages to be supported by the system; the ones which get their language specific packages installed automatically).
In libzypp-10-3-0 -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres SUSE LINUX Products GmbH, Development, ma@suse.de GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org To contact the owner, e-mail: zypp-devel+owner@opensuse.org
participants (4)
-
Duncan Mac-Vicar P.
-
Klaus Kaempf
-
Michael Andres
-
Michael Schroeder