Changes

From SME Server
Jump to navigationJump to search
406 bytes added ,  22:32, 8 February 2008
Line 29: Line 29:  
:: cat /etc/e-smith/web/functions/* |grep \<trans\>
 
:: cat /etc/e-smith/web/functions/* |grep \<trans\>
 
::/etc/e-smith/web/functions/support
 
::/etc/e-smith/web/functions/support
 +
 +
*new bug
 +
:xml2po fails when converting back to xml if duplicate <trans> exist
 +
:
    
not sure if these are bugs in xml2po or sme
 
not sure if these are bugs in xml2po or sme
Line 50: Line 54:  
  msgid "Online manual"
 
  msgid "Online manual"
 
  msgstr ""
 
  msgstr ""
 
+
 
  Back converted XML:
 
  Back converted XML:
 
       <entry>
 
       <entry>
Line 63: Line 67:     
::and if you have translated, logically you get:
 
::and if you have translated, logically you get:
 
+
 
  Translated PO:
 
  Translated PO:
 
  #: on:30(trans) on:35(trans)
 
  #: on:30(trans) on:35(trans)
 
  msgid "Online manual"
 
  msgid "Online manual"
 
  msgstr "Children"
 
  msgstr "Children"
 
+
 
  Back converted XML:
 
  Back converted XML:
 
       <entry>
 
       <entry>
Line 78: Line 82:  
         <base>Test</base>
 
         <base>Test</base>
 
         <trans>Children</trans>
 
         <trans>Children</trans>
 +
      </entry>
 +
 +
 +
It may still be a problem, the english <trans> values may be the same, but the translation may not
 +
FM XML in fr:
 +
      <entry>
 +
        <base>Online manual</base>
 +
        <trans>Online manual</trans>
 +
      </entry>
 +
 +
      <entry>
 +
        <base>Test</base>
 +
        <trans>Le online manual</trans>
 
       </entry>
 
       </entry>
  

Navigation menu