0

Following the steps in the thread How to change Date/Time format to English? I got my Language Support app crashed, so I wonder if it is possible to change the language of the calendar from the command line.

Matsmath
  • 318
  • 1
  • 5
  • 18

2 Answers2

1

You are probably on Ubuntu 16.04, and have run into this bug. I recommend that you either wait a few days until it has been fixed through the package updates, or install accountsservice from xenial-proposed in accordance with comment #5 in the bug report.

Gunnar Hjalmarsson
  • 32,938
  • 3
  • 63
  • 94
-1

by changing locale

update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
Frank Schrijver
  • 531
  • 5
  • 18
  • This *might* changed the way how the format of the timestring the clock uses, nevertheless the language of the calendar remained the same. – Matsmath May 17 '16 at 20:13
  • system settings > useraccounts and try to change language there? or this package: http://packages.ubuntu.com/search?keywords=language-selector – Frank Schrijver May 17 '16 at 20:19
  • I checked `locale` and there half of the things were changed only to en_US.UTF-8. So I changed `LC_ALL` to `en_US.UTF-8`. A logout was also necessary to update these changes. Please improve your answer. – Matsmath May 17 '16 at 20:20
  • Well, neither the above answer nor @Matsmaths idea is a good idea, since they both break the handling of languages/locales via the Language Support GUI. – Gunnar Hjalmarsson May 17 '16 at 20:30
  • @FrankSchrijver: No, that doesn't currently work either due to the bug I mentioned in my answer. – Gunnar Hjalmarsson May 17 '16 at 20:31
  • @GunnarHjalmarsson can I rollback to the earlier settings? – Matsmath May 17 '16 at 20:32
  • 1
    @Matsmath: Sure, you can undo what you changed in `/etc/default/locale`. Basically one line is sufficient: `LANG=en_US.UTF-8` (or whatever locale you want as the default). Then, when the bug has been fixed, you can handle the rest via Language Support. – Gunnar Hjalmarsson May 17 '16 at 20:36