Reply
Thread Tools Search this Thread
Posts: 17 | Thanked: 8 times | Joined on Apr 2012 @ India
#31
To fix the locale issue.

Reinstall posix-locales package using:
Code:
apt-get install posix-locales --reinstall
Once this package is installed.
You can check the list of available locales using:
Code:
locale -a
Make a note of locale that you will be using.
By default utf-8 locales aren't used. But I think they should be safe to use.
Open /etc/osso-af-init/locale using nano or leafpad.

Code:
#!/bin/sh

unset LC_ALL
export LANG=en_GB
export LC_TIME=en_GB
export LC_MESSAGES=en_GB
export LC_NUMERIC=en_IN
export LC_MONETARY=en_IN
export LC_PAPER=en_IN
export LC_NAME=en_IN
export LC_ADDRESS=en_IN
export LC_TELEPHONE=en_IN
export LC_MEASUREMENT=en_IN
export LC_IDENTIFICATION=en_IN
Make sure that the locale is filled as above.
I am using en_IN and en_GB both.
But for you it might just en_GB, en_US or different.

Once you have made sure that it's filled and is in the available list, restart the phone.
After restart, check the regional/language settings again in the phone by accessing phone settings.

I hope this helps.

Cheers!!!
StarkWiz

Last edited by starkwiz; 09-16-2012 at 10:46 PM.
 

The Following 2 Users Say Thank You to starkwiz For This Useful Post:
woody14619's Avatar
Posts: 1,332 | Thanked: 2,674 times | Joined on Dec 2009 @ Rochester, NY
#32
Originally Posted by starkwiz View Post
Open /etc/osso-af-init/locale using nano or leafpad.
Thanks for this. Something (not quite sure what) caused my locale file here to be a 0-length file. locale-gen and the like were not fixing the issue and I was a hair away from a reflash before I saw this.

I'm thinking I may still do a reflash, since I'm not sure what else may have been borked (and its been a couple years since I did a reflash). But at least right now I have a working system again and can do the reflash on my own time.
__________________
Maemo Council Member: May 2012 - November 2012
Hildon Foundation founding member.
Hildon Foundation Board of Directors: March 2013 -
 
Alecsandru's Avatar
Posts: 149 | Thanked: 79 times | Joined on Oct 2012 @ Romania
#33
could someone upload the locales folder?

Last edited by Alecsandru; 03-24-2013 at 07:40 AM.
 
Posts: 49 | Thanked: 21 times | Joined on Mar 2011 @ France
#34
Originally Posted by zvogt View Post
I too had deleted my /usr/lib/locale/locale-archive file and had the same symptom as many others have mentioned in this forum. The difference is that I was able to regenerate the file without having to flash the device, and the benefit is that the newly regenerated file is only 1.2 MB instead of 28.4 MB.

1) create /etc/locale.gen, the contents of the file should look something like:

en_US.UTF-8 UTF-8

2) run the following command as root:

locale-gen

3) You should now see a new /usr/lib/locale/locale-archive that is much smaller than the one that got deleted

4) I also ran the following command as root, although I do not know if it is necessary or not:

setlocale

5) reboot

6) enjoy
Thanks but it dit not work for me. The 1.2MB file locale-archive has been generated correctly (using fr_FR.UTF-8 UTF-8 in my case) but I still have the same problems (everything like "wdgt_va_24h_time" instead of the normal time...). Did I miss something? (setlocale didn't change anything).

Last edited by krutznikov; 03-24-2013 at 01:55 PM.
 
Posts: 158 | Thanked: 65 times | Joined on May 2011 @ Bulgaria
#35
Originally Posted by Alecsandru
could someone upload the locales folder?
Hi,for this folder we talk about
http://dox.bg/files/dw?a=8193a6ac18
 
Posts: 49 | Thanked: 21 times | Joined on Mar 2011 @ France
#36
thanks, it works (I couldn't reinstall posix-locales)
 
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

 
Forum Jump


All times are GMT -4. The time now is 09:37 AM.