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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
47 + 44 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 13:01:29 2024 UTC