[html-formfu] FormFu I18n xgettext problem

Yves Räber yraber at mailup.net
Fri Sep 19 13:02:27 BST 2008


Hi, 

I'm trying to translate my FormFu forms, and it seems there is some
trouble finding the end of the strings to translate. 

I'm using xgettext 0.17

Here is a really simple example :

=== confirm.yml ===

 ---
 indicator: submit
 elements:
   - type: Block
     name: message
   - type: Submit
     name: submit
     value_loc: Yes

   - type: Submit
     name: submit
     value_loc: No

== Trying to extract the fields ===

xgettext.pl root/forms/confirm.yml -o lib/ReUse/I18N/fr.po

=== The resulting fr.po file ===

#: root/forms/confirm.yml:13
msgid ""
"Yes\n"
"\n"
"   - type: Submit\n"
"     name: submit\n"
"     value_loc: No\n"
msgstr ""

Does anyone has an ideas why this is not working ?

Yves.





More information about the HTML-FormFu mailing list