(Solved) Orage Tooltip

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

(Solved) Orage Tooltip

Post 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.
Last edited by ghostdawg on 20. Jan 2013, 20:06, edited 1 time in total.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Orage Tooltip

Post 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.
Image
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: Orage Tooltip

Post 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
Image
Help to make Slackware easier Donate to Salix
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Orage Tooltip

Post 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.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Orage Tooltip

Post 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.
Image
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Orage Tooltip

Post 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.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Orage Tooltip

Post 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 :)
Image
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Orage Tooltip

Post 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.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
User avatar
knome
Donor
Posts: 163
Joined: 20. Dec 2012, 19:36
Location: UK

Re: Orage Tooltip

Post 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?
Image
User avatar
ghostdawg
Posts: 56
Joined: 21. Sep 2011, 02:56
Location: STLMO

Re: Orage Tooltip

Post 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.
Dell Optiplex 760 | Quad-Core | 4gb | 250gb | Salix-14.2 - Xfce4 & Openbox
HP DX5150 AMD64 | 1.5gb | 40gb | SalixOS-13.0 - Xfce4
Post Reply