Accueil > Programmation > PHP > php - traduction - gettext
php - traduction - gettext
Publié le 10 décembre 2019, dernière mise-à-jour le 10 décembre 2019, 6 visites, visites totales.
sites :
https://www.gnu.org/software/gettext/FAQ.html
https://www.gnu.org/software/gettext/manual/index.html
https://www.gnu.org/software/gettext/manual/gettext.html
En C/C++ : Check that the environment variables LC_ALL, LC_MESSAGES, LC_CTYPE, LANG, LANGUAGE together specify a valid locale and language.
Check that your program contains a setlocale call.
Check that your program contains a textdomain call
Convert mo vers po :
In the LANGUAGE environment variable, but not in the LANG environment variable, LL_CC combinations can be abbreviated as LL to denote the language’s main dialect.
The xgettext program extracts translatable strings from given input files.
entête : https://www.gnu.org/software/gettext/manual/gettext.html#Header-Entry