The `snap refresh` command doesn't honor my locale settings

Bug #2043016 reported by 林博仁(Buo-ren, Lin)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
New
Undecided
Unassigned

Bug Description

Refer to the following output for the problem:

```
root@brlin-mz-530:~# locale
LANG=en_US.UTF-8
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
root@brlin-mz-530:~# snap refresh
下載 snap "vlc" (3794)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge") 下載 snap "git-filter-repo" (20)(從頻道 "latest/edge")
```

My system is indeed configured with the zh_TW locale settings(as with the following output), however, when I choose to change the settings to another locale the `snap` command should honor it.

```
$ locale
LANG=zh_TW.UTF-8
LANGUAGE=zh_TW:zh
LC_CTYPE="zh_TW.UTF-8"
LC_NUMERIC="zh_TW.UTF-8"
LC_TIME="zh_TW.UTF-8"
LC_COLLATE="zh_TW.UTF-8"
LC_MONETARY="zh_TW.UTF-8"
LC_MESSAGES="zh_TW.UTF-8"
LC_PAPER="zh_TW.UTF-8"
LC_NAME="zh_TW.UTF-8"
LC_ADDRESS="zh_TW.UTF-8"
LC_TELEPHONE="zh_TW.UTF-8"
LC_MEASUREMENT="zh_TW.UTF-8"
LC_IDENTIFICATION="zh_TW.UTF-8"
LC_ALL=
```

Revision history for this message
Sergio Cazzolato (sergio-j-cazzolato) wrote :

Hi, thanks for raising this.

Could you please add the steps to reproduce the issue and tell in which OS version is being reproduced.

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.