Author Topic: (Resolved but not solved)Language error message on startup  (Read 2085 times)

Offline georgeparker20

  • New Friend
  • *
  • Posts: 5
(Resolved but not solved)Language error message on startup
« on: February 21, 2011, 06:42:56 AM »
I'm running PCLinuxOS Phoenix Xfce 2010.12

After boot up but before accessing the desktop I'm getting an error message "Language en_BG.UTF8 does not exist; using System default". When this message is closed everything works as it should.  I assume it is to do with being from the UK and enabling all the UK options at install.

I haven't come across any errors in any apps. so the main thing I'd like is to get rid of the error message.

Any ideas?

George
« Last Edit: February 22, 2011, 05:17:11 AM by georgeparker20 »

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15288
  • ┌∩┐(◕_◕)┌∩┐
Re: Language error message on startup
« Reply #1 on: February 21, 2011, 07:10:55 AM »
Hi georgeparker20 - welcome to the forum from another UK user.

I'm wondering what the Language en_BG.UTF8 actually refers to.  Not certain if it's for the UK.........
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Language error message on startup
« Reply #2 on: February 21, 2011, 10:18:12 AM »
Hi georgeparker20 - welcome to the forum from another UK user.

I'm wondering what the Language en_BG.UTF8 actually refers to.  Not certain if it's for the UK.........

I think "BG" stands for Bulgaria, but I'd bet that georgeparker20 meant "GB". Looking at his /etc/sysconfig/i18n might be useful.

« Last Edit: February 21, 2011, 10:21:43 AM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

uncleV

  • Guest
Re: Language error message on startup
« Reply #3 on: February 21, 2011, 10:26:52 AM »
Usually "bg"stands for Bulgaria but there's no bulgarian version of English (en_BG) :)

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Language error message on startup
« Reply #4 on: February 21, 2011, 10:29:54 AM »
Hi georgeparker20,
this message looks like an interrupted addlocale run while trying to convert the system to Bulgarian. Please run addlocale again and choose the default settings (restore to en_US). Please don't enable anything different when installing the iso-image. If you need to change the system localization you should first install and fully update your system, then run addlocale and choose your new language.
hope this helps,
-p.

Offline georgeparker20

  • New Friend
  • *
  • Posts: 5
Re: Language error message on startup
« Reply #5 on: February 21, 2011, 12:14:14 PM »
Sorry, that's my banana fingers.  It should be en_GB.UTF8.

Offline georgeparker20

  • New Friend
  • *
  • Posts: 5
Re: Language error message on startup
« Reply #6 on: February 21, 2011, 12:24:56 PM »
yes, Bald Brick, my /etc/sysconfig/i18n is stuffed full of en_GB.UTF-8:

LC_TELEPHONE=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8:en_GB:en
LC_MONETARY=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
SYSFONT=lat0-16
LC_MEASUREMENT=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LANG=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8

Is addlocale  and change to en_US the answer pinoc?  Is'nt en_GB available?

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Language error message on startup
« Reply #7 on: February 21, 2011, 12:50:51 PM »
yes, Bald Brick, my /etc/sysconfig/i18n is stuffed full of en_GB.UTF-8:

LC_TELEPHONE=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8:en_GB:en
LC_MONETARY=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
SYSFONT=lat0-16
LC_MEASUREMENT=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LANG=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8

Is addlocale  and change to en_US the answer pinoc?  Is'nt en_GB available?

Pinoc just suggested that you first use addlocale to restore the defaults, en_US, and then update your system fully with Synaptic. After that, and only then, should you run addlocale once more to get en_GB.
« Last Edit: February 21, 2011, 12:57:44 PM by Bald Brick »
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Language error message on startup
« Reply #8 on: February 21, 2011, 12:59:39 PM »
Hi,

looks like you got the system localization messed up. This should fix it:
1) run addlocale and keep the default reste to "en_US" in order to get the default system setup
2) if not done by addlocale, reboot and check to no longer get the error messages
3) run addlocale again and now choose "English (GB)" to get the British English setup
4) at the end addlocale should reboot your system, then check to no longer get the error messages

This works fine, just tested it myself. The only very strange thing is that I got a connection refused by ibiblio causing addlocale to abort. I hope this was only temporarily else this needs fixing with ibiblio.
If you get this message as well (incomplete download of language archive) you can go in the script /usr/bin/addlocale and change the language archive download location in line 592
from:   AL_HTTP="http://distro.ibiblio.org/pclinuxos/addlocale/"
to AL_HTTP="http://ftp.vim.org/ibiblio/distributions/pclinuxos/addlocale/"
save the script and run addlocale.

good luck,
-p.

Offline georgeparker20

  • New Friend
  • *
  • Posts: 5
Re: Language error message on startup
« Reply #9 on: February 22, 2011, 02:44:14 AM »
Well, first the good news.  I ran addlocale for the default, A-OK.  Then I ran addlocale for en_GB which downloaded and seemed to install OK (after I found a working repository).  On reboot though the error message was still there. I have now done this several times.  Looking at the logs in /tmp shows no errors.  The only thing that seems strange is that the selection list in addlocales shows en_GB unchecked.  after installation I would expect this to stay checked, as the default US one is.  Could someone confirm this?

I can't find anything that doesn't work as a UK location, keyboard, clock, LibreOffice etc. but there again I haven't been using this setup very long.

Thanks for your help G

Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: Language error message on startup
« Reply #10 on: February 22, 2011, 03:06:12 AM »
regardless of the actual system locale addlocale will always show "en_US" because this is the default for the system reset. I don't understand why you get the error message, you shouldn't, and this usually indicates either an incomplete addlocale run, or running addlocale on a borked system. Do you get these messages also when you open a terminal? On the other hand, if all works fine, then you could just ignore these boot-up messages.
But what exactly means addlocale seemed to install ok? Seems to me that you maybe started again from an incomplete addlocale run? Ibiblio seems to work fine again now, so please ensure to
1) have a functional Synaptic setup, see 1, and/or 2, then and only with a functional Synaptic setup:
2) run addlocale and reset to en_US (in order to restore the default system setup)
3) run addlocale and choose en_GB
this should work fine and not provide any error messages.
regards,
-p.

Offline georgeparker20

  • New Friend
  • *
  • Posts: 5
Re: (Resolved but not solved)Language error message on startup
« Reply #11 on: February 22, 2011, 05:25:01 AM »
I was running out of time on this as it's a computer for a relative 300 miles away and is to be delivered tomorrow.  I tried various things as suggested and some that weren't, with no joy.  In the end I installed PCLinuxOS KDE and all now works OK, although I really do hate KDE4 and don't look forward to maintaining it over the phone. 

Thanks everyone
G

Offline graemep

  • Jr. Member
  • **
  • Posts: 42
    • Moneyterms
Re: (Resolved but not solved)Language error message on startup
« Reply #12 on: March 05, 2011, 07:51:19 AM »
I get the same error with a recent install (one week old) or PCLinuxOS E17

I tried resetting it to en_US and still get the same.

What do I try next?


Online pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2840
    • other projects...
Re: (Resolved but not solved)Language error message on startup
« Reply #13 on: March 05, 2011, 10:06:32 AM »
I get the same error with a recent install (one week old) or PCLinuxOS E17

I tried resetting it to en_US and still get the same.

What do I try next?


exactly which PCLinuxOS E17 iso did you install? Was this error already on the fresh install, or after updating? Or when did it occur first? Did you update properly?
-p.

Offline graemep

  • Jr. Member
  • **
  • Posts: 42
    • Moneyterms
Re: (Resolved but not solved)Language error message on startup
« Reply #14 on: March 11, 2011, 04:59:35 AM »
The iso I downloaded has the filename

pclinuxos-enlightenment-light-2010.12.iso

I initially did not update properly, but once I realised why I was not seeing any updates replaces the sources list as instructed and updated (properly, right?). I also added megagames but had to remove it to get the localisation program to run.