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.

10 thoughts on “How to find issues related to LINGUAS

  1. Jeremy Stent

    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” ?

    Reply
    1. ago Post author

      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 .

      Reply
      1. Jeremy Stent

        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-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-base-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-calc-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-math-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-res-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libobasis3.6-as-writer-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        >>> Unpacking ./LibO_3.6.4.3_Linux_x86_langpack-rpm_as/RPMS//libreoffice3.6-as-3.6.4.3-3.i586.rpm to /var/tmp/portage/app-office/libreoffice-l10n-3.6.4.3/work
        * ERROR: app-office/libreoffice-l10n-3.6.4.3 failed (unpack phase):
        * Missing directory: “LibO_3.6.4.3_Linux_x86_helppack-rpm_as/RPMS/”

        Reply
  2. Hanno

    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.

    Reply
    1. ago Post author

      Before comment, did you run at least: grep “ru_gold” $( find /usr/portage/ -iname “*.ebuild” ) ??

      Check games-strategy/ja2-stracciatella

      Reply
        1. ago Post author

          Ok, but this is the wrong place to report this type of issue.

          Try to talk with ja2-stracciatella developers, I just enabled what I saw

          Reply

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>