php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29792 Web Site ODBC page always in German (odbc vs uodbc)
Submitted: 2004-08-22 21:47 UTC Modified: 2004-09-10 01:00 UTC
From: dion_rowney at hotmail dot com Assigned:
Status: Closed Package: Website problem
PHP Version: 5.0.0 OS: n/a
Private report: No CVE-ID: None
 [2004-08-22 21:47 UTC] dion_rowney at hotmail dot com
Description:
------------
When I go to the odbc page all I get is the page in German.  Very hard to read.  All other pages are in english for me.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-23 17:34 UTC] philip@php.net
Those crazy Germans are up to their old tricks again :)

German:
* http://php.net/manual/en/ref.odbc.php

English:
* http://php.net/manual/en/ref.uodbc.php

Das ist nicht gut!

<reference id="ref.uodbc">
http://cvs.php.net/co.php/phpdoc/en/reference/uodbc/reference.xml

<reference id="ref.odbc">
http://cvs.php.net/co.php/phpdoc-de/reference/uodbc/reference.xml

 [2004-08-23 18:33 UTC] tony2001@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 [2004-08-23 18:36 UTC] dion_rowney at hotmail dot com
I would assume that users will be searching for odbc as I did, not uodbc.  Someone may want to fix it so that searching for odbc is directed to uodbc as it is in the menu on the left (which I have just now noticed).
 [2004-08-23 19:31 UTC] philip@php.net
Good point.  In dealing with bug #19622 I changed the title to ODBC (Unified).  Changing the id to odbc would break many links on the WWW.  I suggest:

a) Remove the german pages from the en tree
b) Redirect php.net/odbc to php.net/uodbc within the phpweb error handler

If (a) were done I'm not sure if the current system would automatically redirect as iirc it uses similar_text(), so it might.  If so, (b) would of course not be needed.
 [2004-08-24 01:19 UTC] philip@php.net
This problem is larger than first expected (see also bug #29793) so this bug report should remain open until the English build only contains English files.  In otherwords, when the manual build system is modified.  At least until livedocs is implemented! :-)
 [2004-08-24 01:46 UTC] betz@php.net
About the id refs for obdc and breaking many links on the web:
http://cvs.php.net/diff.php/phpdoc/en/reference/uodbc/reference.xml?r1=1.6&r2=1.7&ty=h
changed from odbc to uodbc, so changing back to odbc might not be such a big deal.

About the german files in the en version: de is build just before en and /html /php output is not cleaned up.
Other langs (like it for example) have also an id="ref.odbc", so if it-lang would be build before en we would see italian content with fallbak to en (error handler).

solution:
(a)tweak the build system to clean up the folders in question
(b) either change ids for odbc back to id="ref.odbc" in all languages in question or change to id="ref.uodbc" in all languages in question and fix redirection, if needed.

IMHO to avoid such confusion for the future:
avoid (unnecessary) id ref changes and if required, all languages in question should be updated and ensure redirection (error handler) is working as expected.

Friedhelm
 [2004-09-02 12:25 UTC] betz@php.net
Build system is fixed.
Changing to website problem
e.g:
php.net/odbc should function as expected, either fall back to en or the desired language.
php.net/odbc actually does not find the en fallback for uodbc functions.
 [2004-09-02 12:33 UTC] goba@php.net
CVS change: /odbc now points to /uodbc. Do we need more redirections?
 [2004-09-10 01:00 UTC] php-mirrors at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2020-02-07 09:57 UTC] phpdocbot@php.net
Automatic comment on behalf of tony2001
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=cb1e037c8aef40745d722d984bd194cd860dcf19
Log: fix #29792 Web Site ODBC page always in German (odbc vs uodbc)
 [2020-02-07 09:57 UTC] phpdocbot@php.net
-Status: No Feedback +Status: Closed
 [2020-12-30 11:15 UTC] nikic@php.net
Automatic comment on behalf of tony2001
Revision: http://git.php.net/?p=doc/de.git;a=commit;h=da57cd7edb0cc1229fcb8d33453bfe5d3ea3e353
Log: fix #29792 Web Site ODBC page always in German (odbc vs uodbc)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC