APKBUILD examples:Special Subpackages Languages

From Alpine Linux
Revision as of 05:01, 12 March 2012 by Ncopa (talk | contribs) (added to Development Category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To keep packages small, languages files (LC_MESSAGES) are places in a seperate -lang subpackages.


abuild is throwing a warning if it detects tanslation.

>>> WARNING: package*: Found /usr/share/locale. Maybe add $pkgname-lang to subpackages?

Please note that some packages will automatically detect NLS if gettext-dev is installed at build time. If gettext-dev is not a direct or indirect dependency then should most likely no -lang be needed.