Prev | Current Page 669 | Next

W. Jason Gilmore

"Beginning PHP and MySQL: From Novice to Professional"

By default the output file is named messages.po, although
you can change this using the --default-domain=FILENAME option. A sample output
file follows:
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR , YEAR.
#
596 CHAPTER 23 ?–  B U ILDING WE B SITES FOR THE WORLD
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-05-16 13:13-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME \n"
"Language-Team: LANGUAGE \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: homepage.php:12
msgid "Subscribe to the newsletter:"
msgstr ""
#: homepage.php:15
msgid "Enter your e-mail address:"
msgstr ""
#: contact.php:12
msgid "Contact us at info@example.com!"
msgstr ""
Copy this file to the appropriate localization directory and proceed to the next step.
Step 4: Translate the Text
Open the messages.po file residing in the language directory you??™d like to translate,
and translate the strings by completing the empty msgstr entries that correspond to
an extracted string. Then replace the placeholders represented in all capital letters
with information pertinent to your application.


Pages:
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681