bugGNU gettext - Bugs: bug #31480, Feature: xgettext Support for XSLT


You are not allowed to post comments on this tracker with your current authentication level.

bug #31480: Feature: xgettext Support for XSLT

Submitter:  Sudrien <sudrien>
Submitted:  Wed 27 Oct 2010 05:51:40 PM UTC
Category:  Other Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Wed 27 Oct 2010 05:51:40 PM UTC, original submission:  

Using a combination of PHP & XSLT to display English stored in XML files in other languages. This leads to lines like:

<xsl:value-of select="php:functionString('gettext','Errors')" />

As far as I can tell, there is no way to define a --keyword in xgettext to detect this pattern. The three possible reasons for this being:

1. The function call itself in a quoted string
2. The function call is in a namespace, so there is a colon present
3. The first option of the call is determining the gettext function to use.

#2 might just be an escaping issue, but documentation does not seem to give a way to escape the character.

Sudrien <sudrien>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by sudrien (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-27 haible CategoryNone Other

    Back to the top

    Powered by Savane 3.13-1277.
    Corresponding source code