导出我们的English-custom翻译所生成的文件,它的前面几行如下所示:
# English-custom translation of Drupal 6
#
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"POT-Creation-Date: 2008-05-09 12:46-0500\n"
"PO-Revision-Date: 2008-05-09 12:46-0500\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: /example.com/?q=admin/build/translate/search
msgid "Search"
msgstr "Search now"
#: /example.com/?q=node/add/blog
msgid "blog"
msgstr "journal"
#: /example.com/?q=admin/build/modules/list/confirm
msgid "Blog entry"
msgstr "Journal entry"
#: /example.com/?q=admin/build/translate/search
msgid ""
"A <em>blog entry</em> is a single post to an online journal, or "
"<em>blog</em>."
msgstr "A <em>journal entry</em> is a single post to an online journal."
...
使用“管理➤站点构建➤翻译界面”中的导入标签,现在就可以将en-US.po文件导入到另一个Drupal站点中了(该站点也启用了本地模块)。
老葛的Drupal培训班 Think in Drupal