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

Submitted by:  Sudrien <sudrien>
Submitted on:  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>

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.3