Bug 14565

Summary: Wrong language with netscape
Product: [Retired] Red Hat Linux Reporter: Pierre Thonne <pierre.thonne>
Component: netscapeAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-24 22:59:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pierre Thonne 2000-07-24 21:58:04 UTC
Hello,

Here a short explanation of the problem I have with Netscape using
helix-gnome. I don't have that problem with IceWM.

I'm a french speaking people and so I try to have the french version of the
program I use in that language.
Here after you'll find an explanation of the problem I have with Netscape
4.73.
-When I invoke `netscape' from an ordinary gnome-terminal (xterm) prompt
Netscape starts in french.; so I have type netscape at the prompt.
- When I launch Netscape from the menu or the entry in the panel, Netscape
starts in English.

That's borrying; for example :
- the emails arrive in the Inbox folder in English and arrive in 'Centre
de messages' in French.
- the startpage doesn't appears...

I have the following lines in /etc/profile.
LC_CTYPE=ISO-8859-1
LC_ALL=fr_BE
LANG=fr
LESSCHARSET=latin1
export LC_CTYPE LC_ALL LANG LESSCHARSET

I use the latest downloaded RedHat 6.2 distribution with the 2.2.16
kernel.
Netscape Communicator 4.73 come from RedHat in rpm package.

How can I correct this or is it a bug in gnome or in the netscape wrapper ?

With regards,

Pierre Thonne
Brussels
Belgium

Comment 1 Bill Nottingham 2000-07-24 22:00:46 UTC
What does /etc/sysconfig/i18n have set in it?

What does 'set' say in your xterm shell?

Comment 2 Pierre Thonne 2000-07-24 22:14:57 UTC
What does /etc/sysconfig/i18n have set in it?
[Toone@TooneMach Toone]$ cat /etc/sysconfig/i18n
LANG="fr_FR"

What does 'set' say in your xterm shell?
AUTOBOOT=YES
BASH=/bin/bash
BASH_ENV=/home/Toone/.bashrc
BASH_VERSION=1.14.7(1)
BOOT_IMAGE=2
COLORTERM=gnome-terminal
COLUMNS=88
CONSOLE=/dev/console
DISPLAY=:0
EUID=500
GDMSESSION=Gnome
GDM_LANG=french
HISTFILE=/home/Toone/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HOME=/home/Toone
HOSTNAME=TooneMach
HOSTTYPE=i386
IFS= 	

INIT_VERSION=sysvinit-2.78
INPUTRC=/etc/inputrc
JAVA_HOME=/usr/local/ibm_jdk118
JAVA_HOME_118v1=/usr/local/jdk118_v1
JAVA_HOME_122=/usr/local/jdk1.2.2
JAVA_HOME_IBM118=/usr/local/ibm_jdk118
LANG=fr_FR
LANGUAGE=fr_BE
LC_ALL=fr_BE
LC_CTYPE=ISO-8859-1
LESSCHARSET=latin1
LESSOPEN=|/usr/bin/lesspipe.sh %s
LINES=32
LOGNAME=Toone
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/Toone
MAILCHECK=60
MANPATH=/usr/man:/usr/local/man:/usr/X11R6/man
MOZILLA_HOME=/usr/lib/netscape
OPTERR=1
OPTIND=1
OSTYPE=Linux
PATH=./:./:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/X11R6/sbin:/usr/local/ibm_jdk118/bin:/home/Toone/bin:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/X11R6/sbin:/usr/local/ibm_jdk118/bin:/home/Toone/bin
PPID=1284
PREVLEVEL=N
PROMPT_COMMAND=echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"
PS1=[\u@\h \W]\$ 
PS2=> 
PS4=+ 
PWD=/home/Toone
RUNLEVEL=5
SESSION_MANAGER=local/TooneMach:/tmp/.ICE-unix/1210
SHELL=/bin/bash
SHLVL=4
SWING_HOME=/usr/local/swing-1.0.3
TERM=xterm
UID=500
USER=Toone
USERNAME=Toone
WINDOWID=71303303
XAUTHORITY=/home/Toone/.Xauthority
_=/etc/bashrc
i=/etc/profile.d/which-2.sh
mc=() 
{ 
    mkdir -p ~/.mc/tmp 2>/dev/null;
    chmod 700 ~/.mc/tmp;
    MC=~/.mc/tmp/mc-$$;
    /usr/bin/mc -P "$@" >"$MC";
    cd "`cat $MC`";
    rm "$MC";
    unset MC
}


Comment 3 Bill Nottingham 2000-07-24 22:19:46 UTC
OK, if you run 'LC_ALL=fr_FR netscape', does it come up
in French?  I'm guessing your LC_ALL setting of fr_BE
is overriding the 'LANG' setting.

Comment 4 Pierre Thonne 2000-07-24 22:59:28 UTC
I have tested all sort of things but now I have a working solution : 

In the property of the the icone, the way the application is started is as
follow : gnome-moz-remote --newwin ""

I have changed it to : LANG=fr_BE ; gnome-moz-remote --newwin "" 

And now I have a 'french speaking' netscape. Thanks for your ideas.

Cheers

Toone