Archive for the ‘gettext 他言語対応’ Category

 

gettextで他言語対応 | php

12月 11th, 2011

index.phpに以下のように <?php echo _(‘Here is top page.’); ?> xgettext index.php –from-code=utf-8 -o messages.pot # 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. # #, fuzzy msgid “” msgstr “” “Project-Id-Version: PACKAGE VERSION\n” “Report-Msgid-Bugs-To: \n” […]

Read full article | コメントは受け付けていません。