0
웹 사이트가 있고 영어로 저장된 설명이 있습니다. 내 캐릭터는 내가 번역하고 날짜와 번호를 무시하려는 내 번역이PHP gettext 사용 가능한 문자열 부분 번역
msgid "Call Consumption period before the"
msgstr "Período de consumo de llamadas antes de la"
msgid "Maintenance of Phone Numbers Quantity"
msgstr "Mantenimiento de los números de teléfono Cantidad Wrong"
처럼
Call Consumption period before the 2015-01-27
Maintenance of Phone Numbers Quantity 10
입니다
우리는 프랑스어, 중국어 등 같은 다른 언어를 번역 할 부분 어떻게 내가 이것을 할 수 있습니다. 당신은 당신은 웹 사이트이며, 어떤 언어로 볼이switch ($lang) {
case 'en':
setlocale(LC_TIME, 'en_CA.UTF-8');
echo strftime("%B %e, %G");
break;
case 'fr':
setlocale(LC_TIME, 'fr_CA.UTF-8');
echo strftime("%e %B %G");
break;
}
같은 스위치 케이스를 넣을 수 있습니다 예를 들어
중복 된 https://stackoverflow.com/questions/5445815/gettext-placeholders – Lorenz