lt_LT should use the Euro

Bug #1494715 reported by Marius Gedminas
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
GLibC
Unknown
Unknown
langpack-locales (Ubuntu)
Fix Released
Medium
Gunnar Hjalmarsson

Bug Description

Lithuania switched currency to the Euro on 1st Jan 2015. The lt_LT locale ought to be updated accordingly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in langpack-locales (Ubuntu):
status: New → Confirmed
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your report, Marius.

The collection of locales in upstream glibc is the base for the locales in the Ubuntu repository. For that reason, and before making this change in Ubuntu, can you please file an upstream bug as well and let us know its URL.

https://sourceware.org/bugzilla/buglist.cgi?component=localedata&product=glibc

Changed in langpack-locales (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

The upstream bug about lv_LV switching to the Euro is interesting: https://sourceware.org/bugzilla/show_bug.cgi?id=16374.

The situation with lt_LT is very similar, only we got the Euro one year later. Same legacy 8-bit charset (ISO-8859-13 has no Euro), but everyone uses UTF-8 now, right?

Anyway, the upstream bug for lv_LV is still unresolved, despite a long discussion that seemed to end with a consensus and a posted patch.

I'll file a bug for lt_LT.

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The patch attached to bug #1491880 has been modified to also include a fix of this bug.

Changed in langpack-locales (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: Incomplete → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package langpack-locales - 2.13+git20120306-21

---------------
langpack-locales (2.13+git20120306-21) wily; urgency=medium

  * debian/patches/ubuntu-ln_CD-new_locale.patch:
    Addition of the ln_CD locale (LP: #1491880).
  * debian/patches/ubuntu-lt_LT-currency.patch:
    Changed to currency EUR/€ (LP: #1494715).

 -- Gunnar Hjalmarsson <email address hidden> Fri, 11 Sep 2015 19:46:00 +0200

Changed in langpack-locales (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Sigitas Kalinas (skalinas) wrote :
Revision history for this message
Sigitas Kalinas (skalinas) wrote :
Revision history for this message
Sigitas Kalinas (skalinas) wrote :

I wrote these commands in terminal:

$ LC_ALL='lt_LT.utf-8' locale -k currency_symbol
currency_symbol=“Lt“

$ LC_ALL='lt_LT.utf-8' locale -k int_curr_symbol
int_curr_symbol=“LTL “

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

It means that it was fixed in wily (the current development version), and will affect Ubuntu 15.10+.

Revision history for this message
Sigitas Kalinas (skalinas) wrote :

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Wily Werewolf (development branch)
Release: 15.10
Codename: wily

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Strange. Can't reproduce the problem.

$ dpkg-query -W locales
locales 2.13+git20120306-21
$ export LC_MONETARY=lt_LT.UTF-8
$ locale -k currency_symbol
currency_symbol="€"
$ locale -k int_curr_symbol
int_curr_symbol="EUR "

Did you update your system successfully?

Can you try to generate the locale again:

sudo locale-gen lt_LT.UTF-8

Revision history for this message
Sigitas Kalinas (skalinas) wrote :

$ dpkg-query -W locales
locales 2.13+git20120306-21
$ export LC_MONETARY=lt_LT.UTF-8
$ locale -k currency_symbol
currency_symbol="Lt"
$ sudo locale-gen lt_LT.UTF-8
Generating locales...
  lt_LT.UTF-8... up-to-date
Generation complete.
$ locale -k currency_symbol
currency_symbol="Lt"

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Hmm.. That did not regenerate the locale, since it claims to have been generated recently. Can you try to run:

sudo locale-gen --purge

which will remove and regenerate all the enabled locales on your system.

If that doesn't help either, can you try to reboot?

Revision history for this message
Sigitas Kalinas (skalinas) wrote :

Ok, This bug was fixed.

$ locale -k currency_symbol
currency_symbol="€"
$ locale -k int_curr_symbol
int_curr_symbol="EUR "

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.