Language support

Alexander Larsson alexl at redhat.com
Mon May 20 08:28:56 UTC 2019


On Sat, May 18, 2019 at 10:30 PM Rafael Fontenelle <rafaelff at gnome.org> wrote:
>
> Hello,
>
> It seems flatpak only recognizes languages with two characters, like
> en, pt, sv". For me, setting 'pt' (European Portuguese) works, but
> 'pt_BR' (Brazilian Portuguese) fails. See:
>
> $ LC_ALL=C flatpak config --set languages pt_BR
> error: 'pt_BR' does not look like a language code
>
> This impacts on the details of software listed. e.g. I'd expect GNOME
> Boxes's name be, in pt_BR, "Boxes" but flatpak shows "Caixa" which is
> pt's translation.

Just set it to "pt", and it will include all pt_* locales. Flatpak
only splits the set of locales on the first part to avoid an explosion
of options, but it doesn't mean that they are not all supported.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com


More information about the Flatpak mailing list