Language 소개
고도몰의 Language 를 소개하는 내용입니다.
Last updated
__($original)#: data/skin/front/food_story/main/index.html:281
msgid "테스트"
msgstr "test"echo __('테스트');
__e('테스트');
// print
test
testn__($original, $plural, $value)#: data/skin/front/food_story/main/index.html:281
msgid "테스트"
msgid_plural "테스트들"
msgstr[0] "test"
msgstr[1] "tests"echo n__('테스트', '테스트들', 1);
echo n__('테스트', '테스트들', 2);
// print
test
testsp__($context, $original)#: data/skin/front/food_story/main/index.html:281
msgctxt "메뉴"
msgid "테스트"
msgstr "menu test"
#: data/skin/front/food_story/main/index.html:281
msgctxt "도구"
msgid "테스트"
msgstr "tool test"echo p__('메뉴', '테스트');
echo p__('도구', '테스트');
// print
menu test
tool testd__($domain, $original)// domain1 파일
#: data/skin/front/food_story/main/index.html:281
msgid "테스트"
msgstr "domain1 test"
// domain2 파일
#: data/skin/front/food_story/main/index.html:281
msgid "테스트"
msgstr "domain2 test"echo d__('도메인1', '테스트');
echo d__('도메인2', '테스트');
// print
domain1 test
domain2 testdp__($domain, $context, $original)// domain1 파일
#: data/skin/front/food_story/main/index.html:281
msgctxt "메뉴"
msgid "테스트"
msgstr "domain1 test"
// domain2 파일
#: data/skin/front/food_story/main/index.html:281
msgctxt "도구"
msgid "테스트"
msgstr "domain2 test"echo dp__('도메인1', '메뉴', '테스트');
echo dp__('도메인1', '도구', '테스트');
echo dp__('도메인2', '메뉴', '테스트');
echo dp__('도메인2', '도구', '테스트');
// print
domain1 menu test
domain1 tool test
domain2 menu test
domain2 tool testdnp__($domain, $context, $original, $plural, $value)// domain1 파일
#: data/skin/front/food_story/main/index.html:281
msgctxt "메뉴"
msgid "테스트"
msgid_plural "테스트들"
msgstr[0] "domain1 test"
msgstr[1] "domain1 tests"
// domain2 파일
#: data/skin/front/food_story/main/index.html:281
msgctxt "도구"
msgid "테스트"
msgid_plural "테스트들"
msgstr[0] "domain2 test"
msgstr[1] "domain2 tests"echo dnp__('도메인1', '메뉴', '테스트', '테스트들', 1);
echo dnp__('도메인1', '도구', '테스트', '테스트들', 2);
echo dnp__('도메인1', '메뉴', '테스트', '테스트들', 1);
echo dnp__('도메인1', '도구', '테스트', '테스트들', 2);
// print
domain1 test
domain1 tests
domain2 test
domain2 tests