Changes

From SME Server
Jump to navigationJump to search
927 bytes added ,  18:27, 3 February 2008
→‎newpo: merge tool needed
Line 141: Line 141:  
   usage
 
   usage
 
  fi
 
  fi
 +
 +
====newpomerge====
 +
 +
The aim of this is to take a blank en .po and merge in the values for a translation .po
 +
 +
en.po has
 +
msgid "Yes"
 +
msgstr ""
 +
 +
fr.po has
 +
msgid "Oui"
 +
msgstr ""
 +
 +
we want fr.po to look like
 +
msgid "Yes"
 +
msgstr "Oui"
 +
 +
how hard can that be ??
 +
 +
Sample output attached, it will always be in this format
 +
msgid ""
 +
msgstr ""
 +
"Project-Id-Version: PACKAGE VERSION\n"
 +
"POT-Creation-Date: 2008-02-04 02:31+1100\n"
 +
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 +
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 +
"Language-Team: LANGUAGE <LL@li.org>\n"
 +
"MIME-Version: 1.0\n"
 +
"Content-Type: text/plain; charset=UTF-8\n"
 +
"Content-Transfer-Encoding: 8bit\n"
 +
 +
#: functions/useraccounts:6(trans)
 +
msgid "Create, modify, or remove user accounts"
 +
msgstr ""
 +
 +
#: functions/useraccounts:33(trans)
 +
msgid "Create or modify"
 +
msgstr ""
 +
 +
#: functions/useraccounts:66(trans)
 +
msgid "Modify the admin account"
 +
msgstr ""
    
====newxml====
 
====newxml====

Navigation menu