, , , , , , - , , , .
FR
$locale = "fr_fr";
putenv("LC_ALL=$locale");
setlocale(LC_ALL, $locale);
bindtextdomain("default", "/includes/locale");
textdomain("default");
bindtextdomain , - .po . - , /... , , 2- , LC_MESSAGES, LC_MESSAGES default.po.
, - , lang :
langfolder/ fr_FR/LC_MESSAGES/default.po
- , default.po , - , .po .mo, , , default , , , gettext -