Active Topics

 


Reply
Thread Tools
Posts: 17 | Thanked: 9 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; 2012-09-17 at 02:46.
 

The Following 3 Users Say Thank You to starkwiz For This Useful Post:
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 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 - Jan 15, 2014
 

The Following User Says Thank You to woody14619 For This Useful Post:
Alecsandru's Avatar
Posts: 439 | Thanked: 282 times | Joined on Oct 2012
#33
could someone upload the locales folder?

Last edited by Alecsandru; 2013-03-24 at 11:40.
 

The Following User Says Thank You to Alecsandru For This Useful Post:
Posts: 57 | Thanked: 42 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; 2013-03-24 at 17:55.
 

The Following User Says Thank You to krutznikov For This Useful Post:
Posts: 238 | Thanked: 131 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
 

The Following User Says Thank You to disappear For This Useful Post:
Posts: 57 | Thanked: 42 times | Joined on Mar 2011 @ France
#36
thanks, it works (I couldn't reinstall posix-locales)
 

The Following User Says Thank You to krutznikov For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#37
Hi, I have also managed to create this problem while attempting to free up some space on Rootfs.

However when i try apt-get install locales the process aborts due to "broken pipe" error, which I assume is because some of locales still exists in the phone.

Any suggestions how to resolve the install issue? I hope to avoid reflashing as it seems now the process takes us a longway back in history and many things have been modified, degraded, expired since the latest flash image.

thanks
 

The Following User Says Thank You to glo-worm For This Useful Post:
Posts: 110 | Thanked: 362 times | Joined on May 2014
#38
You should have made a backup before playing with nand.

A general approach to save your system would be:

Make a backup now.

Mount your latest known to work backup you made and diff/restore/fix the files concerning locales.

If you dont have ever made a backup since 2013
you can try to use "The Lazy Approach"
https://wiki.maemo.org/Updating_the_firmware as a reference.

Maybe make a backup after you fixed it again
 

The Following User Says Thank You to pythoneye2 For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#39
ended up reflashing. The device probably needed it anyhow after several years of playing around. most stuff is working only struggling with my ms exchange email account....
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:14.