Fwd: Re: [yast-devel] Query on localization of patterns name and description
Hi, I had sent multiple mails on the attached query, in case if its not possible I will fall back to .pat.gz format for patterns. Regards, Suresh
Dne 9.11.2016 v 10:50 Suresh K Hosamani napsal(a):
Hi,
I had sent multiple mails on the attached query, in case if its not possible I will fall back to .pat.gz format for patterns.
In SLE12 the pattern packages are represent the patterns on RPM level. In SLE11 the patterns were handled only on the libzypp level, RPM did not know that there was something like a pattern. So you could not work with patterns with plain "rpm" command. In SLE12 there are patterns-* packages which represent patterns on the RPM level. They can Require/Recommend RPMs as normal packages do and they are visible for "rpm". So your approach is OK. I haven't checked whether your patterns-*.rpm packages are correct, but at least you are the right direction. Also the translations are handled differently. They are provided using the RPM "Provides" dependencies. E.g. rpm -qp --provides patterns-sles-base-12-72.1.x86_64.rpm pattern() = .basesystem pattern() = base pattern-category() = Base%20Technologies pattern-category(ar) = %D8%A7%D9%84%D8%AA%D9%82%D9%86%D9%8A%D8%A7%D8%AA%20%D8%A7%D9%84%D8%A3%D8%B3%D8%A7%D8%B3%D9%8A%D8%A9 pattern-category(ca) = Tecnologies%20de%20base pattern-category(cs) = Z%C3%A1kladn%C3%AD%20technologie pattern-category(da) = Basisteknologier pattern-category(de) = Basistechnologien ... So there are special language provides with escaped texts. I do not know how these are generated, the SLES patterns simply BuildRequire "package-translations" package. See [1]. Ask the build service team for more details, this is out of the YaST scope. HTH [1] https://build.suse.de/package/view_file/SUSE:SLE-12-SP2:GA/patterns-sles/pat... [internal only] -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (2)
-
Ladislav Slezak
-
Suresh K Hosamani