Bug 8460 - Firefox doesn't open localized Mageia page (indexhtml redirection)
Summary: Firefox doesn't open localized Mageia page (indexhtml redirection)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal minor
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact: Atelier Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2012-12-21 10:46 CET by Marek Laane
Modified: 2015-03-19 11:57 CET (History)
4 users (show)

See Also:
Source RPM: indexhtml
CVE:
Status comment:


Attachments

Description Marek Laane 2012-12-21 10:46:31 CET
Description of problem:
It's continuation of the BR 7424 https://bugs.mageia.org/show_bug.cgi?id=7424.
At first launch Firefox opens two pages, one with welcome to Firefox new user, another with Mageia Community page. First one is localized but Mageia's
page is still in English, though localization exists, so one should manually
switch language. It would be nice if Mageia community page will open in user
language (if it exists, of course), too.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Manuel Hiebel 2012-12-21 11:33:48 CET
you mean /usr/share/indexhtml/index.html which don't redirect to http://www.mageia.org/$language/community/ ?

Source RPM: firefox-17.0.1-3.mga3.i586 => indexhtml

Comment 2 Marek Laane 2012-12-21 12:13:45 CET
I really don't know - it's second page which opens when you launch Firefox. So probably it may be indexhtml but I'm not sure which kind of black magic is used here :-)
Comment 3 Manuel Hiebel 2012-12-21 12:16:10 CET
well 

> It would be nice if Mageia community page will open in user language (if it >exists, of course), too.

so what is the issue ?

if you type /usr/share/indexhtml/index.html in the address bar where does it go ? 
(and what is your language ?)
Comment 4 Marek Laane 2012-12-21 12:20:27 CET
The issue is that Mageia Community page opens in English, not in Estonian, as it would be nice (first page, that welcomes Firefox new user, opens in Estonian).
Comment 5 Marek Laane 2012-12-21 12:27:44 CET
Typing /usr/share/indexhtml/index.html in address bar goes to Estonian community page, as it should. But one more time - it does not happen when you first launch Firefox - then it is same page in English.
Manuel Hiebel 2012-12-21 12:32:42 CET

Summary: Firefox doesn't open localized Mageia page => Firefox doesn't open localized Mageia page (indexhtml redirection)
QA Contact: (none) => mageia-webteam
Severity: normal => minor

Comment 6 Romain d'Alverny 2012-12-21 13:04:06 CET
indexhtml/index.html now always:
 * redirects to http://start.mageia.org/
 * which in turn, for the moment, redirects to http://www.mageia.org/community/ (see http://svnweb.mageia.org/adm/puppet/deployment/websites/manifests/start.pp?revision=2773&view=markup)
 * which in turn, redirects to the existing locale, normally (see http://svnweb.mageia.org/web/www/trunk/community/index.php?revision=1068&view=markup)

So if something does not work here, it may be that:
 * there's a bug in community/index.php
 * your browser Accept-Language header is set to English (or not),
 * something still unknown (yummy!)

Status: NEW => ASSIGNED
CC: (none) => rdalverny

Comment 7 Marek Laane 2012-12-21 13:12:47 CET
Maybe I should state that in my case it happened with Live DVD and with first opening of Firefox (clicking on the icon in quick start bar or whatever that part on taskbar is named). As it is continuation of the BR #7424 Firefox itself is now in Estonian and so the Firefox welocme page but not the other pager which opens, which is Mageia community page. So probably not the second option - then all the Firefox should still be in English, shouldn't it?
Comment 8 Romain d'Alverny 2012-12-21 15:23:34 CET
(In reply to comment #7)
> So probably not the second option
> - then all the Firefox should still be in English, shouldn't it?

I guess so, yes. Could you test and report http://www.mageia.org/test/lang.php here so I can cross it out?
Comment 9 Marek Laane 2012-12-21 15:33:40 CET
Goes to localized, i.e. Estonian community page.

(Just for information - I tried also Konqueror, which opens just/usr/share/indexhtml/index.html and that's all, no redirection at all - but it's probably worth of another BR).
Comment 10 Romain d'Alverny 2012-12-21 16:08:09 CET
Ok, it's the same code that's run in both ends, so it's something else in the start.mageia.org => mageia.org/community => mageia.org/et/community chain that's broken... :-/
Comment 11 Marek Laane 2013-01-27 17:31:45 CET
Still there in Beta 2 - when I run Live DVD and open Firefox, first page which is for Firefox introduction page is translated but the second one for Mageia Community page is still in English.
Comment 12 Sander Lepik 2013-04-05 14:56:38 CEST
I think we can't do much here: https://bugzilla.mozilla.org/show_bug.cgi?id=771999

CC: (none) => sander.lepik

Comment 13 Marek Laane 2013-04-20 21:40:43 CEST
In Beta 4 I noticed that Firefox did open only Community page and it was translated. So, the problem seems to be that on the first run ONLY the first opened page will be translated (provided that there is a translation) and not the other page(s). Which is so weird I can't even imagine why it is so :_)
Comment 14 Filip Komar 2015-03-18 19:47:11 CET
Marek is this still valid?

> Could you test and report
> http://www.mageia.org/test/lang.php here so I can cross it out?

Can you report the output of rda's test page?

Keywords: (none) => NEEDINFO
CC: (none) => filip.komar

Comment 15 Jüri Ivask 2015-03-19 10:48:50 CET
Just made a test with Mageia-5-beta3-LiveDVD-KDE4-x86_64-DVD.iso and at the estonian live session both Firefox start pages were in estonian.

CC: (none) => jyri2000

Comment 16 Sander Lepik 2015-03-19 11:57:25 CET
Closing..

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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