php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66567 [FR] description of log_errors claims it allows choosing logs location
Submitted: 2014-01-24 02:24 UTC Modified: 2014-06-20 08:03 UTC
From: chealer at gmail dot com Assigned: yannick (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-01-24 02:24 UTC] chealer at gmail dot com
Description:
------------
The description of log_errors is:
 log_errors boolean

    Tells whether script error messages should be logged to the server's error log or error_log. This option is thus server-specific.

        Note:

        You're strongly advised to use error logging in place of error displaying on production web sites. 


The French translation reads:
 Indique où les messages d'erreur générés doivent être écrits : dans l'historique du serveur ou dans error_log. Cette fonction est spécifique aux serveurs.

    Note:

    Il est recommandé d'utiliser l'historique d'erreur, plutôt que d'afficher les erreurs sur les sites de production.


The first sentence is incorrect. In English, it means:
 Indicates where generated error messages should be written: in the server's history or in error_log.


error_log is the directive allowing to choose how to log. log_errors is just a boolean determining whether PHP should log errors or not.

An appropriate translation would be:
 Indique si les messages d'erreur générés par les scripts devraient être journalisés dans le journal d'erreurs du serveur ou dans error_log.


Note that the French translation team should not take all the blame for this. The English version is fairly unclear. The following sentence ("This option is thus server-specific.") belongs to error_log's description, not here. I suggest replacing the whole English paragraph with just:
Tells whether script error messages should be logged.

The only problem with that is it doesn't refer to error_log, which the reader will naturally want to learn about next.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-03-30 10:52 UTC] sobak@php.net
-Summary: French description of log_errors claims it allows choosing logs location +Summary: [FR] description of log_errors claims it allows choosing logs location -Type: Bug +Type: Documentation Problem
 [2014-06-20 08:01 UTC] yannick@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&revision=333855
Log: Fix bug #66567
 [2014-06-20 08:03 UTC] yannick@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: yannick
 [2014-06-20 08:03 UTC] yannick@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.


 [2020-12-30 12:49 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=6af6597ff933fe87fee382ae65e2ca1d302b96a2
Log: Fix bug #66567
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC