php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68372 [IT] Parameters names translated
Submitted: 2014-11-07 10:00 UTC Modified: 2015-06-14 22:02 UTC
From: d dot albano at gmail dot com Assigned:
Status: Suspended Package: Arrays related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-11-07 10:00 UTC] d dot albano at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.in-array
---

The italian version of the traslation contains parameters names in italian


bool in_array ( mixed $ago , array $pagliaio [, bool $strict ] )


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-14 06:10 UTC] sobak@php.net
As far as I know there is no rule specifying this. There are some translations that leave original paramets names, but majority of language versions contain parameters translated. The reason is simple: it is easier to make a sentence when you don't need to mix two languages within it. The same applies to variable names, types etc.

While this bug should be probably marked as NaB, because there is no standardization in this matter, I think that we need to discuss it. Changed parameters names are sometimes confusing and would cause big trobules if we ever going to introduce named parameters in PHP... More experienced members than me should express their opinions, IMO.
 [2015-01-04 22:48 UTC] ae@php.net
Translation of parameters can impact https://wiki.php.net/rfc/named_params
 [2015-06-14 22:02 UTC] cmb@php.net
-Summary: Parameters names translated +Summary: [IT] Parameters names translated -Status: Open +Status: Suspended -Package: Translation problem +Package: Arrays related
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Jan 20 11:01:23 2020 UTC