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

 
 

bug #31480: Feature: xgettext Support for XSLT

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

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Attach File(s):
   
   
Comment:
   

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup