How to find issues related to LINGUAS

Usually, I want to find all possible issues with the LINGUAS variable, so in my arch testing environment I have enabled all linguas that the main tree uses.
To keep my make.conf more ‘clear’ I’m using source and another file called linguas.conf.

So, this is my /etc/portage/linguas.conf:
LINGUAS="am fil zh af ca cs da de el es et gl hu nb nl pl pt ro ru sk sl sv uk bg cy en eo fo ga he id ku lt lv mk ms nn sw tn zu ja zh_TW en_GB pt_BR ko zh_CN ar en_CA fi kk oc sr tr fa wa nds as be bn bn_BD bn_IN en_US es_AR es_CL es_ES es_MX eu fy fy_NL ga_IE gu gu_IN hi hi_IN is ka kn ml mr nn_NO or pa pa_IN pt_PT rm si sq sv_SE ta ta_LK te th vi ast dz km my om sh ug uz ca@valencia sr@ijekavian sr@ijekavianlatin sr@latin csb hne mai se es_LA fr_CA zh_HK br la no es_CR et_EE sr_CS bo hsb hy mn sr@Latn lb ne bs tg uz@cyrillic xh be_BY brx ca_XV dgo en_ZA gd kok ks ky lo mni nr ns pap ps rw sa_IN sat sd ss st sw_TZ ti ts ve mt ia az me tl ak hy_AM lg nso son ur_PK it fr nb nb_NO hr nan ur tk cs_CZ da_DK de_1901 de_CH en_AU lt_LT pl_PL sa sk_SK th_TH ta_IN tt sco ha mi ven ar_SY el_GR ro_RO ru_RU sl_SI uk_UA vi_VN ar_SY te_IN de_DE es_VE fa_IR fr_FR hu_HU id_ID it_IT ja_JP ka_GE nl_NL sr_BA sr_RS ca_ES fi_FI he_IL jv ru_gold yi eu_ES chr jp"

Now you need to set in your make.conf:
source /etc/portage/linguas.conf

I will update this post if there will be new linguas/languages in the future.

[01-31-2013]: Add chr and jp.

This entry was posted in arch testing, gentoo. Bookmark the permalink.

10 Responses to How to find issues related to LINGUAS

  1. Jeremy Stent says:

    Thank you for this work.
    I notice the following LINGUAS in use, not in your file:

    en-GB (thunderbird, joomla, firefox, opera, seamonkey)
    es-ES (thunderbird, firefox, opera, seamonkey)
    es-LA (opera)
    fr-CA (opera)
    pt-BR (thunderbird, firefox, opera)
    zh-CN (thunderbird, firefox, opera, seamonkey)
    zh-TW (thunderbird, firefox, opera, seamonkey)

    As an extra question, have you been able to emerge app-office/libreoffice-l10n with the LINGUAS of “as” or “st” ?

    • ago says:

      Ok, the values are not sorted, but what you are saying is not existent. There is no en-GB, there is en_GB, (note “s:-:_:”). So , when I try to emerge the mentioned packages, I have no missing languages.

      Yes, I’m able to build libreoffice-l10n .

      • Jeremy Stent says:

        Thank you for that. I had missed the replacement, and will tidy up my linguas.
        I asked about libreoffice-l10n because I get:

        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_ar/RPMS//libreoffice3.6-ar- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-base- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-calc- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-math- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-res- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-writer- to /var/tmp/portage/app-office/libreoffice-l10n-
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libreoffice3.6-as- to /var/tmp/portage/app-office/libreoffice-l10n-
        * ERROR: app-office/libreoffice-l10n- failed (unpack phase):
        * Missing directory: “LibO_3.6.4.3_Linux_x86_helppack-rpm_as/RPMS/”

  2. Hanno says:

    Sounds to me it’d be worth considering if it would make sense to keep such a list inside the portage tree. E.g. a file profiles/linguas.available or something alike.
    Seems reasonable to me to have a central location of all available settings, as we already have use.desc/use.local.desc.

  3. Alec says:

    Just curious, but what the heck is “ru_gold”? It doesn’t look right.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.