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

 
 

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

bug #31480: Feature: xgettext Support for XSLT

Submitted by:  Sudrien <sudrien>
Submitted on:  Wed Oct 27 17:51:40 2010  
 
Category: OtherSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed Oct 27 17:51:40 2010, 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
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by sudrien (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Nov 27 01:07:19 2016haibleCategoryNone=>Other

    Back to the top


    Powered by Savane 3.1-cleanup