Bug 63756 - mozilla startup page should depend on locale
mozilla startup page should depend on locale
Status: CLOSED DUPLICATE of bug 83105
Product: Red Hat Linux
Classification: Retired
Component: indexhtml (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: web
Ben Levenson
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2002-04-18 08:55 EDT by Jens Petersen
Modified: 2007-04-18 12:42 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 13:48:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
localizeindex patch (507 bytes, patch)
2002-08-27 20:19 EDT, Leon Ho
no flags Details | Diff

  None (edit)
Description Jens Petersen 2002-04-18 08:55:37 EDT
Description of Problem:
When starting up mozilla in a non-English locale, it should show
the index.html.<locale> page not the English one always.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
1. start mozilla in non-English locale the first time.

Actual Results:
Shows English index page.

Expected Results:
Non-English page for supported languages locale.

Additional Information:
I think this worked in Enigma
Comment 1 Christopher Blizzard 2002-04-18 13:31:36 EDT
This has never worked before.
Comment 2 Jens Petersen 2002-08-15 01:52:24 EDT
Of course this has nothing to do with mozilla. :-)

All that's needed is for indexhtml to generate a symbolic link from
/usr/share/doc/HTML/index.html to index.html.<DEFAULT_LOCALE>.
Comment 3 Leon Ho 2002-08-27 20:18:02 EDT
We can symlink to different localized version of index.html from mozilla wrapper:

- We can change index page location from redhatify patch in mozilla and ln -sf
to that location

- We can rename index.html to index.html.en_US and by default it points to

Following attachment is patch for the wrapper. Is it a good approach?
Comment 4 Leon Ho 2002-08-27 20:19:18 EDT
Created attachment 73424 [details]
localizeindex patch
Comment 5 Christopher Blizzard 2002-08-27 20:57:27 EDT
That's not going to work as a normal user is it?

Please keep in mind there's a much better way to do this.  The variable that
controls the home page is in the lang pack.  If I had lang packs, we could just
do it there instead.
Comment 6 Leon Ho 2002-08-27 21:03:48 EDT
We could link a file to ~/ or something, but agreed it is a bit dirty. Yes if
the lang pack have the variable that control it, it would be much cleaner to do
it over there.
Comment 7 Jens Petersen 2002-08-27 22:55:42 EDT
My original suggestion about the symlink is just for the system default.
Ie the default page language for the system would be determined by the system 
default locale when indexhtml is installed/upgraded.
Comment 8 Nakai 2002-08-28 02:19:52 EDT
We are using the latest mozilla that translatation teams have not followed
well yet, so it should not depend on lang pack.

For Mozilla 1.0.1, only Greek lang pack is available at this moment.
Comment 9 Nakai 2002-08-28 03:17:20 EDT
Can we set LANG value( the return value of setlocale(LC_MESSAGES, ""))
to Javascript's natigator.systemLanguage?

If so, we can redirect from index.html to each lang index.html.
Comment 10 Leon Ho 2003-01-30 19:21:05 EST

*** This bug has been marked as a duplicate of 83105 ***
Comment 11 Red Hat Bugzilla 2006-02-21 13:48:45 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.