On Mon, 24 Jun 2019 19:46:32 +0200, Andrei Borzenkov wrote:
24.06.2019 20:21, Takashi Iwai пишет:
Or need to split to subpackages per language?
With a help of rpm macro, it shouldn't be too hard. I can think of a macro like KMP builds. Maybe the most difficult part is to know the language list before the package build itself...
Mandrake rpm supported partial installation of language components in package according to configured list. So selecting "en ru de" as list of languages resulted in installing only these translations. It was long ago, but I do not think it used subpackages, rather somehow tagged files (may be based on fixed location, like /usr/share/locale/$LANG).
Aha, that's an interesting approach. But what happens if you enable one more language support on the running system? Would the already installed packages need to be re-installed? A sub-package approach would be more flexible in that regard. But it wastes a few more resources for package meta data, and the whole package list may become messier, which are a clear down side. thanks, Takashi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org