|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-01-03 13:26 UTC] daniel at dseichter dot de
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.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-14 16:37 UTC]
-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]
-Status: Open +Status: Suspended -Package: *General Issues +Package: Scripting Engine problem
 [2018-10-05 14:31 UTC]
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] <>
[2] <>
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Aug 03 09:01:23 2021 UTC