When package is emerged, it dumps LC_MESSAGES for many languages, whereas I have the line 'LINGUAS="en"' in make.conf. Actual Results: LC_MESSAGES contains unwanted files Expected Results: LC_MESSAGES should contain only files for selected LINGUAS /usr/share/locale/af/LC_MESSAGES/audacity.mo /usr/share/locale/ar/LC_MESSAGES/audacity.mo /usr/share/locale/be/LC_MESSAGES/audacity.mo /usr/share/locale/bg/LC_MESSAGES/audacity.mo /usr/share/locale/bn/LC_MESSAGES/audacity.mo /usr/share/locale/bs/LC_MESSAGES/audacity.mo /usr/share/locale/ca/LC_MESSAGES/audacity.mo /usr/share/locale/ca@valencia/LC_MESSAGES/audacity.mo /usr/share/locale/cs/LC_MESSAGES/audacity.mo /usr/share/locale/cy/LC_MESSAGES/audacity.mo /usr/share/locale/da/LC_MESSAGES/audacity.mo /usr/share/locale/de/LC_MESSAGES/audacity.mo /usr/share/locale/el/LC_MESSAGES/audacity.mo /usr/share/locale/es/LC_MESSAGES/audacity.mo /usr/share/locale/eu/LC_MESSAGES/audacity.mo /usr/share/locale/fa/LC_MESSAGES/audacity.mo /usr/share/locale/fi/LC_MESSAGES/audacity.mo /usr/share/locale/fr/LC_MESSAGES/audacity.mo /usr/share/locale/ga/LC_MESSAGES/audacity.mo /usr/share/locale/gl/LC_MESSAGES/audacity.mo /usr/share/locale/he/LC_MESSAGES/audacity.mo /usr/share/locale/hi/LC_MESSAGES/audacity.mo /usr/share/locale/hu/LC_MESSAGES/audacity.mo /usr/share/locale/id/LC_MESSAGES/audacity.mo /usr/share/locale/it/LC_MESSAGES/audacity.mo /usr/share/locale/ja/LC_MESSAGES/audacity.mo /usr/share/locale/ka/LC_MESSAGES/audacity.mo /usr/share/locale/km/LC_MESSAGES/audacity.mo /usr/share/locale/ko/LC_MESSAGES/audacity.mo /usr/share/locale/lt/LC_MESSAGES/audacity.mo /usr/share/locale/mk/LC_MESSAGES/audacity.mo /usr/share/locale/my/LC_MESSAGES/audacity.mo /usr/share/locale/nb/LC_MESSAGES/audacity.mo /usr/share/locale/nl/LC_MESSAGES/audacity.mo /usr/share/locale/oc/LC_MESSAGES/audacity.mo /usr/share/locale/pl/LC_MESSAGES/audacity.mo /usr/share/locale/pt/LC_MESSAGES/audacity.mo /usr/share/locale/pt_BR/LC_MESSAGES/audacity.mo /usr/share/locale/ro/LC_MESSAGES/audacity.mo /usr/share/locale/ru/LC_MESSAGES/audacity.mo /usr/share/locale/sk/LC_MESSAGES/audacity.mo /usr/share/locale/sl/LC_MESSAGES/audacity.mo /usr/share/locale/sr_RS/LC_MESSAGES/audacity.mo /usr/share/locale/sv/LC_MESSAGES/audacity.mo /usr/share/locale/tg/LC_MESSAGES/audacity.mo /usr/share/locale/tr/LC_MESSAGES/audacity.mo /usr/share/locale/uk/LC_MESSAGES/audacity.mo /usr/share/locale/vi/LC_MESSAGES/audacity.mo /usr/share/locale/zh/LC_MESSAGES/audacity.mo /usr/share/locale/zh_TW/LC_MESSAGES/audacity.mo
Absolutely correct. If a suitable patch is produced, it's a very good candidate for inclusion in the next release after Audacity 2.0.0. As per http://www.gnu.org/software/gettext/manual/html_node/Installers.html it looks like the configure script needs to be taught to check the LINGUAS variable and put the right value into the Makefile, whilst retaining the default of installing all available languages.
(In reply to comment #1) > Absolutely correct. If a suitable patch is produced, it's a very good > candidate for inclusion in the next release after Audacity 2.0.0. Audacity-1.3-14 will be removed ASAP, just to be sure, can you reproduce this bug with latest stable 2.0.0?
(In reply to comment #2) > Audacity-1.3-14 will be removed ASAP, just to be sure, can you reproduce > this bug with latest stable 2.0.0? No patch received. However I'm not less why this doesn't work, because the offending Makefile is driven by a space-separated list of languages in a variable called LINGUAS, which is set in the Makefile. Problem with how the variable is set in the Makefile vs. the value from the environment?
Not reproducible with 2.2.1. L10N="en ru" --- /usr/share/locale/ --- /usr/share/locale/ru/ --- /usr/share/locale/ru/LC_MESSAGES/ >>> /usr/share/locale/ru/LC_MESSAGES/audacity.mo