Wrong locale generation based on location

Bug #1792338 reported by Behrouz
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

A successful installation of Ubuntu won't recognize true localization. This particular situation happened to me a couple of times after choosing "Tehran/Iran" in the installation menu.
The wrong locale is chosen as "az_IR" by installer while the right one is "fa_IR".

This is the true localization placed in "/etc/default/locale"

LANG="fa_IR.UTF-8"
LC_NUMERIC="fa_IR"
LC_TIME="fa_IR"
LC_MONETARY="fa_IR"
LC_PAPER="fa_IR"
LC_NAME="fa_IR"
LC_ADDRESS="fa_IR"
LC_TELEPHONE="fa_IR"
LC_MEASUREMENT="fa_IR"
LC_IDENTIFICATION="fa_IR"

Further problem happened in Ubuntu and other flavors but MATE. All had wrong calendar format based on Iranian Jalali calendar.

no longer affects: ubuntu-mate
Revision history for this message
Behrouz (javanmardy) wrote :

I'm running official Ubuntu 18.04 and this bug is still there.
I should manually generate fa_IR and change the /etc/default/locale to the right value.

Revision history for this message
Niyumard (niyumard) wrote :

I'm using Ubuntu 18.04 too and also I have a laptop with Ubuntu Mate 19.10 and another with Xubuntu 20.04 beta, none of them correctly recognize the true locale.
I think the problem is caused by auto-recognition of locale from the Internet.

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

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

Changed in ubiquity (Ubuntu):
status: New → Confirmed
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.