[Bug 673493] Re: In an European Portuguese setup LANGUAGE variable is set as LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en

Gunnar Hjalmarsson 673493 at bugs.launchpad.net
Mon Feb 6 14:03:08 UTC 2017


This is intentional behavior. It means (for applications which use
gettext for choosing the display language) that a string which lacks a
pt_PT translation is displayed using the pt_BR translation instead.

In other words, the installer 'guesses' that this is what most European
Portuguese users prefer. For Brazilian Portuguese users, the installer
sets LANGUAGE to:

LANGUAGE=pt_BR:pt:en

Isn't that a reasonable way to deal with it?

And, as I mentioned in comment #2, you can change it using Language
Support, if you want.

** Changed in: language-selector (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/673493

Title:
  In an European Portuguese setup LANGUAGE variable is set as
  LANGUAGE=pt:pt_BR:en instead of LANGUAGE=pt:pt_PT:en

Status in language-selector package in Ubuntu:
  Incomplete

Bug description:
  lsb_release -rd: Ubuntu 10.10
  apt-cache policy locales: 2.13+git20100825-1

  After a fresh Ubuntu 10.10 install, were the Portuguese (European)
  language was chosen, the LANGUAGE should be setup as LANGUAGE=pt:pt_PT
  or, at least, LANGUAGE=pt:pt_PT:en.

  Instead the locale command shows LANGUAGE=pt:pt_BR:en (Brasilian):

  LANG=pt_PT.utf8
  LANGUAGE=pt:pt_BR:en
  LC_CTYPE="pt_PT.utf8"
  LC_NUMERIC="pt_PT.utf8"
  LC_TIME="pt_PT.utf8"
  LC_COLLATE="pt_PT.utf8"
  LC_MONETARY="pt_PT.utf8"
  LC_MESSAGES="pt_PT.utf8"
  LC_PAPER="pt_PT.utf8"
  LC_NAME="pt_PT.utf8"
  LC_ADDRESS="pt_PT.utf8"
  LC_TELEPHONE="pt_PT.utf8"
  LC_MEASUREMENT="pt_PT.utf8"
  LC_IDENTIFICATION="pt_PT.utf8"
  LC_ALL=
  --

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: locales 2.13+git20100825-1
  ProcVersionSignature: Ubuntu 2.6.35-22.35-generic-pae 2.6.35.4
  Uname: Linux 2.6.35-22-generic-pae i686
  Architecture: i386
  Date: Wed Nov 10 12:30:11 2010
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=pt:pt_BR:en
   PATH=(custom, user)
   LANG=pt_PT.utf8
   SHELL=/bin/bash
  SourcePackage: langpack-locales

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/673493/+subscriptions



More information about the foundations-bugs mailing list