php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50643 Translation attributes for strings
Submitted: 2010-01-03 13:26 UTC Modified: 2018-10-05 14:31 UTC
From: daniel at dseichter dot de Assigned:
Status: Suspended Package: Scripting Engine problem
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2010-01-03 13:26 UTC] daniel at dseichter dot de
Description:
------------
I developed for many years in progress 4GL (OpenEdge from progress software) and in case of international projects, progress has the nice feature of translation attributes like for example:
'text':U, 'text':T10, 'text':L10 and 'text':R10

The :U,:T10,... after the string is relevant for the translation within the compiler of progress.

:U: untranslateable
:T10: Text with 10 characters, translateable (the same like L10 or R10, but L is left align and right is right align of the text).

After developing some months in PHP I have to translate my application but it is hard to find out now every translateable strings.

It will be great, if on the next conference, this feature will be discussed, if it can be included in a future release of PHP, so there will be a standard way of know, what types of strings are translateable and which are keywords f.e. to output html code with 'echo'.

Maybe there is already some of this feature, then I will be happy to know about this, but I can't found anything about this.

Also I want to thank the PHP-team for the great work in the past and for the future.

Daniel



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-14 16:37 UTC] jani@php.net
-Package: Feature/Change Request +Package: *General Issues -Operating System: Linux, Windows +Operating System: * -PHP Version: 5.3.1 +PHP Version: *
 [2018-10-05 14:31 UTC] cmb@php.net
-Status: Open +Status: Suspended -Package: *General Issues +Package: Scripting Engine problem
 [2018-10-05 14:31 UTC] cmb@php.net
Well, there is the gettext extension[1].  If you think this is not
sufficient, but instead PHP should provide some special syntax for
this purpose, please feel free to start the RFC process[2].  For
the time being, I'm suspending this ticket.

[1] <http://php.net/manual/en/book.gettext.php>
[2] <https://wiki.php.net/rfc/howto>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC