php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51277 google translate issues
Submitted: 2010-03-11 20:52 UTC Modified: 2012-02-11 11:43 UTC
From: philip@php.net Assigned: yannick (profile)
Status: Closed Package: Online Doc Editor problem
PHP Version: Irrelevant OS: Irrelevant
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: philip@php.net
New email:
PHP Version: OS:

 

 [2010-03-11 20:52 UTC] philip@php.net
Description:
------------
The google translation has a few bugs, some I noticed today. Do we have much 
control over this?


This:
<option role="configure">--with-mysql</option>

Turned into:
<option role="configure"> - with-mysql </option>

This:
&amp;

Turned into:
&

This:
<literal>1</literal>

Turned into (adding spaces is common within all tags, not just this):
<literal> 1 </literal>

This:
&example.outputs;

Turned into:
& Example.outputs;

This:
<sect2 xml:id="features.gc.compound-types">
    <title>Compound Types</title>

Turned into (removed <title>, weird):
<sect2 xml:id="features.gc.compound-types">


The removal of <title> seems common but does not always occur, However, another:

This:
     <example>
      <title>Creating a <type>array</type> zval</title>
Turned into:
     <example>


This:
]]>

Turned into (but not always):
] ]>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-01 17:01 UTC] yannick@php.net
As discuss over IRC, this is the Google API who send us the result of the translation like this.

We send him a "regular" xml and the API send us the result with somes spaces issues.
 [2010-04-01 17:01 UTC] yannick@php.net
-Assigned To: +Assigned To: yannick
 [2011-01-03 00:32 UTC] yannick@php.net
Automatic comment from SVN on behalf of yannick
Revision: http://svn.php.net/viewvc/?view=revision&amp;revision=307004
Log: Part of resolution Bugs #51277. Clean Up entities, remove extra space from class's method, tag and inside tags
 [2011-01-03 00:34 UTC] yannick@php.net
With commit at revision 307004, there is some improvement.

For example :
* & Reftitle.parameters; => &reftitle.parameters;
* AMQPConnection:: connect => AMQPConnection::connect
* </ b> => </b>
* <b> foo </b> => <b>foo</b>
 [2012-02-11 11:43 UTC] irker@php.net
-Status: Assigned +Status: Closed
 [2012-02-11 11:43 UTC] irker@php.net
Google translate feature temporary removed from phpdoe 
(see https://bugs.php.net/bug.php?id=55793).
And in future we will add Google translate API v2.
So I close this bug ticket.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC