Antwort: [PHP-I18N] xgettext & multiline string literals (addition)

From: Date: Thu, 26 Oct 2006 09:19:45 +0000
Subject: Antwort: [PHP-I18N] xgettext & multiline string literals (addition)
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-1028@lists.php.net to get a copy of this message
Georg.Steffers@aschendorff.de schrieb am 26.10.2006 10:50:31: # snip # > _("This is just a slightly longer " . > "text for demontration purpose"); > > But that is not understood by xgettext. The .po file does only > contain the first row of the string as a key. additionally i tried: _("This is just a slightly longe text for demonstration purpose"); This results in the same behaviour as with C the string literal includes all whitespace characters including \n \t or whatever... Thatfor these are also part of the key extracted by xgettext. This is a horror to read in the .po file and makes the stuff difficult to translate. And it is for sure inacceptable if the string will be used for other purpose than write it within a HTML ducoment. BR Georg

« previous php.i18n (#1028) next »