Page 1 of 2

(Solved) Orage Tooltip

Posted: 19. Jan 2013, 15:34
by ghostdawg
Orage and the Calendar are showing information in another language and I would like it to be shown in English. How do I go about changing it to English?

When I put the mouse on the time, it show this:

Sabti 19 Qunxa Garablu 2013/03

Is it showing the Day Date, Year & Month?

I would like for it to show

Day, Month Date & Year.
Sat January 19, 2013

Thnx.

Re: Orage Tooltip

Posted: 19. Jan 2013, 18:13
by knome
Is the language problem system-wide or just with Orage?

If you're running Orage Panel Clock from a panel, right-click the clock and select Properties. Edit the Tooltip box to show your preferred Tooltip string. If you're not sure of what entry is required then open a Terminal and do man strftime... this shows the available string formats.

Re: Orage Tooltip

Posted: 19. Jan 2013, 18:23
by zAchAry
ghostdawg wrote:Orage and the Calendar are showing information in another language and I would like it to be shown in English. How do I go about changing it to English?
I do not know, but you can force the UI to be in English by running.

Code: Select all

$ LANG=C.utf8 orage

Re: Orage Tooltip

Posted: 19. Jan 2013, 23:41
by ghostdawg
knome wrote:Is the language problem system-wide or just with Orage?

If you're running Orage Panel Clock from a panel, right-click the clock and select Properties. Edit the Tooltip box to show your preferred Tooltip string. If you're not sure of what entry is required then open a Terminal and do man strftime... this shows the available string formats.
It an Orage problem only. I'll look into man strftime and see what I can come up with
I do not know, but you can force the UI to be in English by running.

Code: Select all
$ LANG=C.utf8 orage
I this didn't work. After running it, nothing changed. It did mention something about C and using old C, not home at the moment to get exact message.

Thnx.

Re: Orage Tooltip

Posted: 20. Jan 2013, 02:49
by knome
Orage seems to be missing some essential locale files... en_GB and en_AU are installed but there is no en or en_US.

I'm not sure if this will work but as a workaround, copy /usr/share/locale/en_GB/LC_MESSAGES/orage.mo to (if you're using USA locale) /usr/share/locale/en_US/LC_MESSAGES/ and reboot.

You'll have to investigate further whether Orage is deficient in orage.mo files.

Re: Orage Tooltip

Posted: 20. Jan 2013, 03:10
by ghostdawg
knome wrote:Orage seems to be missing some essential locale files... en_GB and en_AU are installed but there is no en or en_US.

I'm not sure if this will work but as a workaround, copy /usr/share/locale/en_GB/LC_MESSAGES/orage.mo to (if you're using USA locale) /usr/share/locale/en_US/LC_MESSAGES/ and reboot.

You'll have to investigate further whether Orage is deficient in orage.mo files.
I do have en installed.

Code: Select all

root@saptech:~# ls -l /usr/share/locale/en
total 12
drwxr-xr-x 2 root root 4096 qun 19 11:11 LC_MESSAGES/
-rw-r--r-- 1 root root 5830 cig 27  2011 man
Should I copy it to /usr/share/locale/en/LC_MESSAGES?

Thnx.

Re: Orage Tooltip

Posted: 20. Jan 2013, 03:18
by knome
If en is your system-wide locale setting then try copying the orage.mo file to there.

I'm only suggesting it as a workaround... no guarantees, sorry :)

Re: Orage Tooltip

Posted: 20. Jan 2013, 16:16
by ghostdawg
knome wrote:If en is your system-wide locale setting then try copying the orage.mo file to there.

I'm only suggesting it as a workaround... no guarantees, sorry :)
I did copy the Orage.mo to the /usr/share/locale/en location and rebooted still no change.

I have noticed this in a terminal:

This is what I currently get.
saptech[~]$ date
aca qun 20 10:07:51 saaku CST 2013
saptech[~]$ date +%x
20.01.2013

If I type this.
saptech[~]$ LANG=en_US.UTF-8

then I get this.
saptech[~]$ date
Sun Jan 20 10:08:55 CST 2013
saptech[~]$ date +%x
01/20/2013
what it should be.

I need to get LANG=en_US.UTF-8 as a permanent environtment, if I reboot it reverts back to what is is now. Or I need a way to get en_US into /usr/share/locale/.

I appreciate the help. Any more suggestions?

Thnx.

Re: Orage Tooltip

Posted: 20. Jan 2013, 19:08
by knome
If the problem isn't system-wide I'm not sure why you're getting possibly an African locale for the date command. What does locale give you?

Personally I'd set my locale using the GUI - Salix menu > System > System language. Have you tried that?

Re: Orage Tooltip

Posted: 20. Jan 2013, 20:06
by ghostdawg
knome, thank you so much for staying with me on this. Going into System Language fixed the problem. It was set on the very first choice, which looks like an African language. I was able to choose English for US,

As the saying goes, we over look the simple stuff first. I'm so used to doing things by CLI that I don't think about the GUI tools much.

Again, thanks.