Ask / Submit

Where are locale files located? And how to reconfigure them?

asked 2015-04-25 04:56:54 +0300

AliN gravatar image

updated 2015-04-25 06:50:18 +0300

I want to modify a locale file for some reasons. I know there are some on /usr/share/i18n/locales/, but nothing changed after I modified the file. My Jolla UI is in English, so the locale should be en_GB. I also tried dpkg-reconfigure locales, but still no change.

So my question is:

  1. Does Saifish OS have other locale files for date and number format?
  2. How I can reconfigure locales? Does dpkg-reconfigure really work?

Edit: According to this mailing list “dpkg” stands for debian package and has no equivalent on rpm-based OS’s. So it seems impossible to modify an installed locale unless via update.

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted

answered 2015-04-25 12:18:57 +0300

penpen gravatar image

updated 2015-04-25 15:08:37 +0300

See localedef tool. I have never used it but it might be what you are looking for.

Edit: I peeked the glibc-common package in Jolla and it seems to be running /usr/sbin/build-locale-archive as a post install program.

edit flag offensive delete publish link more


Thanks! I had also tried build-locale-archive and got the following error:

build-locale-archive: cannot read archive header

This is a known issue on recent version of Fedora as well.

AliN ( 2015-04-25 16:26:56 +0300 )edit
Login/Signup to Answer

Question tools

1 follower


Asked: 2015-04-25 04:56:54 +0300

Seen: 323 times

Last updated: Apr 25 '15