Req #50643 [Opn->Sus]: Translation attributes for strings

From: Date: Fri, 05 Oct 2018 14:31:51 +0000
Subject: Req #50643 [Opn->Sus]: Translation attributes for strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-217438@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=50643&edit=1 ID: 50643 Updated by: cmb@php.net Reported by: daniel at dseichter dot de Summary: Translation attributes for strings -Status: Open +Status: Suspended Type: Feature/Change Request -Package: *General Issues +Package: Scripting Engine problem Operating System: * PHP Version: * Block user comment: N Private report: N New Comment: 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> Previous Comments: ------------------------------------------------------------------------ [2010-01-03 13:26:17] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=50643&edit=1

« previous php.bugs (#217438) next »