php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41412 Documentation on php.net shows up in wrong language
Submitted: 2007-05-17 02:56 UTC Modified: 2007-05-17 10:19 UTC
From: thbley at gmail dot com Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: thbley at gmail dot com
New email:
PHP Version: OS:

 

 [2007-05-17 02:56 UTC] thbley at gmail dot com
Description:
------------
http://us.php.net/date

gives:

date -- Formateaz� data/timpul local
Descriere
string date ( string format [, int timestamp])

Returneaz� un �ir formatat conform cu formatul transmis ca parametru al func�iei, utiliz�nd �ntregul timestamp sau timpul local dac� nu este utilizat parametrul timestamp. 

http://de.php.net/date

gives:
date -- Formateaz� data/timpul local
Descriere
string date ( string format [, int timestamp])

Returneaz� un �ir formatat conform cu formatul transmis ca parametru al func�iei, utiliz�nd �ntregul timestamp sau timpul local dac� nu este utilizat parametrul timestamp. 

Expected result:
----------------
Documentation in correct language


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-17 03:01 UTC] philip@php.net
All mirrors have all languages. What is the actual URL (and not the shortcut/redirect) that you are looking at? Odds are it contains /de/.

See Also http://php.net/my to set your preferred language.
 [2007-05-17 03:15 UTC] thbley at gmail dot com
The page content now shows up correctly, but in English when I call de.php.net/date (ok ?), see screenshot from the broken layout before, maybe a rebuild problem on the mirror ?
http://www.simple-groupware.de/files/other/php_Image.png
http://www.simple-groupware.de/files/other/php_Image2.png

http://de.php.net/de/date gives the German version.


php.net/my gives:

Your preferred language: not set
Last seen language 	en
Your Accept-Language browser setting 	en-us,en;q=0.5
The mirror's default language 	de
Default 	en


Your setting: X Function list search  PHP Documentation search

Your setting: X Show suggestions  Hide suggestions

Mirror site redirection: Automatic selection
 [2007-05-17 10:19 UTC] bjori@php.net
php.net tries its best to find appropriate language for you to view depending on the headers you send, the mirror you are using, your last used language and if you explicitly asked for some language.

My guess it you previously (sometime in the last year) viewed a Romanian manual page and got a cookie stored that was asking for the Romanian translation.

You can set your preferred language at http://php.net/my if you do not want php.net to guess it for you.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 05:00:01 2025 UTC