aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2016-06-23 06:31:13 +0200
committerUlrich Müller <ulm@gentoo.org>2016-06-23 06:31:13 +0200
commit29d17cdbedd7817c6722f6ce3150f928d3ccef79 (patch)
treeadf466f0742ecc19f70d09be1e30f3e20d5e5118
parent2016-05-23-lastpass-changes: a news item on upcoming app-admin/lastpass changes (diff)
downloadgentoo-news-29d17cdbedd7817c6722f6ce3150f928d3ccef79.tar.gz
gentoo-news-29d17cdbedd7817c6722f6ce3150f928d3ccef79.tar.bz2
gentoo-news-29d17cdbedd7817c6722f6ce3150f928d3ccef79.zip
Add 2016-06-23-l10n-use_expand.
-rw-r--r--2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt49
-rw-r--r--2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt.asc11
2 files changed, 60 insertions, 0 deletions
diff --git a/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt b/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt
new file mode 100644
index 0000000..2ff30d7
--- /dev/null
+++ b/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt
@@ -0,0 +1,49 @@
+Title: L10N USE_EXPAND variable replacing LINGUAS
+Author: Mart Raudsepp <leio@gentoo.org>
+Author: Ulrich Müller <ulm@gentoo.org>
+Content-Type: text/plain
+Posted: 2016-06-19
+Revision: 1
+News-Item-Format: 1.0
+
+The L10N variable is replacing LINGUAS as a USE_EXPAND, to avoid a
+conceptual clash with the standard gettext LINGUAS behaviour.
+
+L10N controls which extra localization support will be installed.
+This is commonly used for downloads of additional language packs.
+
+If you have set LINGUAS in your make.conf, you most likely want to add
+its entries also to L10N. Note that while the common two letter language
+codes (like "de" or "fr") are identical, more complex entries have a
+different syntax because L10N now uses IETF language tags. (For example,
+"pt_BR" becomes "pt-BR" and "sr@latin" becomes "sr-Latn".) You can look
+up the available codes in profiles/desc/l10n.desc in the gentoo tree.
+A detailed description of language tags (aka BCP 47) can be found at:
+https://www.w3.org/International/articles/language-tags/
+
+After a transition time for packages to be converted, the LINGUAS
+environment variable will maintain the standard gettext behaviour and
+will work as expected with all package managers. It controls which
+language translations are built and installed. An unset value means all
+available, an empty value means none, and a value can be an unordered
+list of gettext language codes, with or without country codes. Usually
+two letter language codes suffice, but can be narrowed down by country
+codes with a "ll_CC" formatting, where "ll" is the language code and
+"CC" is the country code, e.g., "en_GB". Some rare languages also have
+three letter language codes. Note that LINGUAS does not only affect
+installed gettext catalog files (*.mo), but also lines of translations
+in an always shipped file (e.g., *.desktop).
+
+If you want English with a set LINGUAS, it is suggested to list it with
+the desired country code, in case the default is not the usual "en_US".
+It is also common to list "en" then, in case a package is natively
+written in a different language, but does provide an English translation
+for whichever country. A list of LINGUAS language codes is available at:
+http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes
+
+If you have per-package customizations of the LINGUAS USE_EXPAND, you
+should also rename those. This typically means changing linguas_* to
+l10n_*, and possibly updating the syntax as described above.
+
+https://wiki.gentoo.org/wiki/Localization/Guide has also been updated to
+reflect this change.
diff --git a/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt.asc b/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt.asc
new file mode 100644
index 0000000..e0ef7cc
--- /dev/null
+++ b/2016-06-23-l10n-use_expand/2016-06-23-l10n-use_expand.en.txt.asc
@@ -0,0 +1,11 @@
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAABCAAGBQJXa2W8AAoJEMMJBoUcYcJzzD4H+wdawek/66xLVxpbc43IhCN8
+G/sxeNCG7PNcNXQVS+YO5kJdYb7v/4D0rTtlwuPfgO9c7moFSldmyewUJsDYCW4/
+2RJ2eoWNsBlD/aTQZVnrBFVt2sxmX6Tl7sEh5qwiggcqJn2dIJn6TkZhJBSr+wCX
+chBtKCxfSlMrj3qDqZxmTiYDfyMSq3BXFRygmvhqGI7HjfGEhaejEFBRdoLT8yQS
+wqT/auhONnt+x+92nC+0Iij0DXcqNY+wghuvC4VxT2MxbCxRzhWhhCFJMPa5EzvU
+Mf+inQP9GV+87YlfpueoDCIDsShVWIGqQpl95eSnBcduABwvL/kFUeXtzqnrhbM=
+=BZ4h
+-----END PGP SIGNATURE-----