-
Senior Member
registered user
LANG='C' isn't canadian, which is 'en_CA' or 'fr_CA'.
C is the special exception and means the language of the programming language C - greetings to Kerninghan & Ritchie at this point - AFAIK, since their language is the default OS language, which should be 'en_US'. But again not sure.
If someones manpages are broken, here is a link to online-manpages:
http://www.rt.com/man/
Craig2: are you waiting on some kind of ok?
I would try it this way.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
user unknown
LANG='C' isn't canadian, which is 'en_CA' or 'fr_CA'.
C is the special exception and means the language of the programming language C - greetings to Kerninghan & Ritchie at this point - AFAIK, since their language is the default OS language, which should be 'en_US'. But again not sure.
If someones manpages are broken, here is a link to online-manpages:
http://www.rt.com/man/
Craig2: are you waiting on some kind of ok?
I would try it this way.
I must have missed something. Or forgot what I was doing. What should I be trying?
I stopped for a while, and forgot where I was. I have this file open:
#!/bin/bash
PROGRAM_PATH=/opt/openoffice/program
CHECKMEM=""
# Show logo in background
SCREEN="$(xdpyinfo | awk '/dimensions/{print $2; exit 0}')"
X="$(expr ${SCREEN%%x*} / 2 - 235)"
Y="$(expr ${SCREEN##*x} / 2 - 160)"
# Quick visual feedback
xloadimage -quiet -geometry 0x0+$X+$Y -delay 140 /opt/openoffice/program/soffice-startup.gif >/dev/null 2>&1 &
xpid="$!"
[ -x /usr/bin/checkmem ] && CHECKMEM="/usr/bin/checkmem 80"
# Language/Locale settings
[ -z "$LANG" -a -e /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
export LANG
USELANGUAGE="${LANG%%@*}"
USELANGUAGE="${USELANGUAGE%%_*}"
case "$USELANGUAGE" in
de|ch|at)
USELOCALE=de-DE
;;
nl)
USELOCALE=nl-NL
;;
C)
And suspect that the USELOCALE=de-DE and USELOCALE=nl-NL may have something to do with the problem, but again, I could be wrong. I can't remember where this file came from when I opened it, so I'm going to look for it in a little while, or try and find which shell I used to run kwrite when I opened it, and check the bash history to see the name of the file.
If this file is the problem, can I just change the entry to USELOCALE=en-EN, and what do I do with the following 5 lines? Or the one above USELOCALE=de-DE? Anyone have this file with english settings that they can post for me to look at?
As for waiting, I really wasn't waiting. I spent a lot of time looking for other files or settings from my bash shell, and then I went through every setting and every applicaton in the kde desktop start menu that I could try to find a path or language setting that wasn't correct. Everything is correct from what I see. I've also been googling for hours trying to find something, but no luck there either. If I didn't think this would help someone else, I wouldn't waste any more time on this. I'll just use OpenOffice on Windows on someone else's computer for now, as much as it kills me to say that. In the next few weeks I'll have a hard disk install of Sarge, and it won't be an issue anymore, I'll be able to use apt to uninstall/install whatever necessary. I'll stop my post here because what I was going to write next was going to be out of sheer frustration.
-
btw, my man pages are in english, for both the knoppix user, and craig2. In an earlier post, someoone (my friend in Berlin?) said that the man pages would be useless to me because they're in German. They are not, they are English.
I'm not having a problem with anything else that I can think of regarding language. Just OOo.
And a reminder, the file I found in /etc, called language-de, and having the following inside:
# #!/bin/sh -- This should not be executed, but sourced.
# This file was installed by the package user-de and contains the
# settings for German speaking users
# If you just want Umlauts and accents (also in Mutt), but all the
# messages in English then uncomment the following entry.
#LC_MESSAGES=en_GB.UTF-8
#export LC_MESSAGES
# This sets the locale to German/Germany.
# You might want to try de_AT etc. instead
LANG=de_DE.UTF-8
export LANG
# If you want a German GNOME Desktop as well, you also have to set
# LANG=de_DE.UTF-8 in /etc/environment, which is a good idea anyway!!!
# If you should prefer English manpages
# then uncomment the following two lines.
#MANOPT='-L english'
#export MANOPT
Anyone with the English settings inside, or a file called language-en in /etc and no language-de in /etc, can you post the exact name of file, and the contents, if you have a working OOo in English on Knoppix 3.4?
I tried a locate for language-en, but that came up empty.
I'm going to run an updatedb now, so I'm signing off for now.
tia.
-
Senior Member
registered user
Code:
# Language/Locale settings
[ -z "$LANG" -a -e /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
export LANG
USELANGUAGE="${LANG%%@*}"
USELANGUAGE="${USELANGUAGE%%_*}"
case "$USELANGUAGE" in
de|ch|at)
USELOCALE=de-DE
;;
nl)
USELOCALE=nl-NL
;;
C)
well - this script reads /etc/sysconfig/i18n.
We had that topic. Your settings seem to be fine.
The quote of the script ends, where it would be interesting.
Is there a 'USELOCALE' followed by the C) ?
And is there a section
en) following, with different content than the C) section?
Another idea: Your installation-program is invoked from a kde-menu?
Perhaps this is linked to a installation-script, and passing a parameter like 'LANG=de'...
I'm not running kde, so I can't search for the name of this menuentry, and for the location of the entry 'edit menu'.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
user unknown
Another idea: Your installation-program is invoked from a kde-menu?
Perhaps this is linked to a installation-script, and passing a parameter like 'LANG=de'...
I'm not running kde, so I can't search for the name of this menuentry, and for the location of the entry 'edit menu'.
I'll check the first part of your post in a few minutes. The installation program has been tried from the kde kicker panel the first time for knoppix user, was invoked the first time for craig2 from a bash shell while in craig2's home directory (where there were earlier OOo641, OOo1.0.3 and whatever else I listed earlier, dot configuration files). I also tried invoking from a shell with knoppix a second time after deleting the configuration file installed for 1.1.1 So it's installing in German whether from a kde icon on the kicker panel, or from a command line. I may have even tried installing from the start button, or applications button in the programs menu of kde. I may not, so I'm thinking of trying that now. Let me review the first part of your post first though.
-
-
I believe that's all of the rest of it. It starts about ten lines above where you were interested, so the very beginning is missing, but can be seen at my earlier post.
-
Senior Member
registered user
It looks as if there are preparations for english.
You could consider changing the first lines to avoid installing a german version again, and exit the script, like this:
Code:
case "$USELANGUAGE" in
de|ch|at)
#USELOCALE=de-DE
exit
;;
nl)
#USELOCALE=nl-NL
exit
;;
-
Do you actually have the english language package for openoffice?
Code:
sh-2.05b$ COLUMNS=160 dpkg -l|grep -w en
ii myspell-en-us 20030813-3 English (US) dictionary for myspell
ii openoffice.org-help-en 1.1+20030814-3 OpenOffice.org office suite help (English)
ii openoffice.org-hyphenation-en-us 20030813-3 English (US) hyphenation pattern for OpenOffice.org
ii openoffice.org-l10n-en 1.1.1-2 English (US) language package for openoffice.org
ii trans-de-en 1.3-3 A German-English translation dictionary
Code:
sh-2.05b$ locate openoffice.org |grep -w en
Should also give some output.
Similar Threads
-
By jlcurty in forum General Support
Replies: 3
Last Post: 10-02-2005, 01:13 AM
-
By Jack_ in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 05-27-2004, 09:37 PM
-
By chronictoker420 in forum General Support
Replies: 7
Last Post: 05-02-2004, 11:20 PM
-
By donl in forum General Support
Replies: 0
Last Post: 09-17-2003, 01:46 PM
-
By cheez in forum Hdd Install / Debian / Apt
Replies: 2
Last Post: 12-10-2002, 08:03 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture](/store/img/qfQAAOSw9XRklkNR/s-l225//DELL-PowerEdge-R630-8SFF-Server-2x-E5-2680v4-2-4GH.jpg)
DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$339.00
![DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture](/store/img/O2MAAOSwRtNkh97Y/s-l225//DELL-PowerEdge-R730-Server-2x-E5-2680v3-2-5GHz-24-.jpg)
DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45
$247.00
![Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture](/store/img/CaAAAOSwEjBmj~ML/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2680-V4-28-Cores-.jpg)
Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD
$256.99
![Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays picture](/store/img/GAcAAOSw9Q1mGSZW/s-l225//Dell-Poweredge-R630-Server-2x-E5-2620-V4-16-Cores-.jpg)
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$171.99
![Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture](/store/img/ZD0AAOSwm41mOZYw/s-l225//Dell-PowerEdge-R630-Server-2x-E5-2640v3-2-60Ghz-16.jpg)
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
![HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar picture](/store/img/HBEAAOSwasRkPVvF/s-l225//HP-ProLiant-DL360-G9-Server-2x-E5-2690v3-2-60Ghz-2.jpg)
HP ProLiant DL360 G9 Server 2x E5-2690v3 2.60Ghz 24-Core 256GB P440ar
$302.90
![Dell PowerEdge R730XD Server 2x E5-2680 V3 2.50GHz = 24 Core 256GB DDR4 H730 picture](/store/img/AUMAAOSwzN5mHa8I/s-l225//Dell-PowerEdge-R730XD-Server-2x-E5-2680-V3-2-50GHz.jpg)
Dell PowerEdge R730XD Server 2x E5-2680 V3 2.50GHz = 24 Core 256GB DDR4 H730
$519.00
![Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD picture](/store/img/vSgAAOSwEp5maJ3a/s-l225//Lenovo-ThinkServer-TS140-Xeon-E3-1225v3-3-20GHz-16.jpg)
Lenovo ThinkServer TS140 Xeon E3-1225v3 3.20GHz 16GB RAM Tower Server Needs HDD
$99.99
![Dell PowerEdge R720 2U Server 2x Xeon E5-2670 2.60GHz 256GB RAM NO HDD NO OS picture](/store/img/olUAAOSwyGpmkW5e/s-l225//Dell-PowerEdge-R720-2U-Server-2x-Xeon-E5-2670-2-60.jpg)
Dell PowerEdge R720 2U Server 2x Xeon E5-2670 2.60GHz 256GB RAM NO HDD NO OS
$219.99
![Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM picture](/store/img/Je8AAOSwIcdmTgJF/s-l225//Cisco-UCS-C240-M4-2U-Server-w-2x-E5-2680v4-NO-RAM.jpg)
Cisco UCS C240 M4 2U Server w/ 2x E5-2680v4, NO RAM
$39.99