php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22176 Website Language Selection?
Submitted: 2003-02-11 14:38 UTC Modified: 2003-02-12 11:08 UTC
From: davey at its-explosive dot net Assigned:
Status: Closed Package: Website problem
PHP Version: 4.3.0 OS: n/a
Private report: No CVE-ID: None
 [2003-02-11 14:38 UTC] davey at its-explosive dot net
I was wondering if it'd be possible to make urls like this:
http://www.php.net/manual/*/function.parse-ini-file.php and then when someone goes to that link, it displays a list of languages to choose from, then shows the file being requested in the chosen language... It will make linking to the manual much easier, especially on multi-lingual sites. 

Just a thought... not much work. 

- Davey

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-11 14:42 UTC] andrew at evilwalrus dot com
I don't see much promise in this, as you have to remember, alot of the languages also have mirrors, creating a ton of different choices, and making it easy to confuse the visitor, as well as making extra, unneeded work for the web team..

Andrew Heebner
 [2003-02-11 15:27 UTC] sniper@php.net
There already is a select box in which you can select the
language from.. (it has confusing "printer friendly" as the default option, but it's there still)

 [2003-02-11 16:41 UTC] davey at its-explosive dot net
I think perhaps, sniper, you misunderstood me, I meant that you goto the link http://www.php.net/manual/*/function.parse-ini-file.php or whatever, and it would present you with links to all the different languages own specific manual page for the page requested. 

- Davey
 [2003-02-12 08:54 UTC] goba@php.net
But Davey, every manual page has "links" to every other language version of the page... So then why to have another one without content, but only the langauge list. It's something which is not that informative...

BTW there are some things planned that will cover this issue, but I have not written my proposal yet for the webmasters, so I won't explain it here. Need to work it out...
 [2003-02-12 11:09 UTC] philip@php.net
My guess is one will go here:
http://my.php.net/parse-ini-file

And it redirects you to your mirror and language of choice (as set in user preferences).  That said, any mirror (www.php.net/parse-ini-file) might be told to redirect in the same way.  As Goba stated, he's working on a proposal for the PHP user preferences (My PHP) and has already been getting the mirrors ready.

Now, maybe if no preference of mirror or language is set yet then "my.php.net/foo" would prompt for preferences via either a session or a login with this being a specific feature of my.php.net  Anyway, looking forward to Goba's RFC :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Aug 15 05:01:28 2024 UTC