-
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.
-
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'.
-
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
Western Digital WD60PURZ 6TB Hard Drive SATA6 Gb/s 64MB Cache 3.5 Inch
$109.99
HGST Ultrastar HE10 HUH721010ALE600 10TB SATA 6Gb/s 7200RPM 3.5" Enterprise HDD
$69.99
Western Digital RED NASware 3.0 WD40EFRX 4 TB SATA III 3.5 in NAS HARD DRIVE
$99.99
WF12F DELL 1TB 7.2K 6GBPS SATA 2.5'' HDD HARD DRIVE ST91000640NS 0WF12F
$25.00
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$82.99
Seagate Exos 7E10 ST2000NM000B 2TB 7200RPM SATA 6.0Gb/s 3.5" Internal Hard Drive
$29.99
8TB Seagate Archive SATA 3.5" HDD Hard Drive 100% Healthy 200MB/s ST8000AS0002
$36.42
2 PACK Seagate ST1000LM035 Mobile HDD 1TB 2.5" SATA III Laptop Hard Drive
$26.85
WD 16TB Elements Desktop, Certified Refurbished Hard Drive - RWDBWLG0160HBK-NESN
$209.99
WD 4TB Certified Refurbished Elements, External Hard Drive - RWDBU6Y0040BBK-WESN
$84.99