Re: Changes to rpmstrate (or localedrake?) for zh_TW

Pixel <pixel-4qZELD6FgxhWk0Htik3J/[email protected]>
Newsgroups gmane.linux.mandrake.cooker.internationalization
Message-ID <[email protected]>
pablo-4qZELD6FgxhWk0Htik3J/[email protected] writes:

> Currently I think all the locales in the LANGUAGE variable of all
> requested languages are concantened together; and all packages for all
> of those locales are installed.
> So the behaviour should be changed to:
>
> * for each requested language do:
> 	* look at its LANGUAGE variable, and install packages for
> 	  the first matching locale (it may be different locales for
> 	  different packages)

currently it's not done that way at all, since it can't work for
mozilla-firefox-*. we do:

for each package do:
   * if it requires locales-xxx, select it iff that locales is
   selected

we'll have to change one day, so that rpmsrate format can be
simplified and get rid of clean-rpmsrate. for this, virtual provides
must be added, even for things like mozilla-firefox-* which do not
have a main package, only l10n packages (kde-i18n-*, koffice-i18n-*,
koffice-l10n-* already have a provide)

when it's done, we can replace "mozilla-firefox-de mozilla-firefox-fr"
to be expanded by clean-rpmsrate into "main-firefox-l10n", and then we
can do what you suggested

(i've posted a mail on cooker in may 2006 about this:
http://marc.theaimsgroup.com/?l=mandrake-cooker&m=114778863523512&w=2)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.