PHP string externalization guidelines

I was surprised at how little I found on externalizing strings in PHP. Does everyone use gettext, or is there some other infrastructure or tool that I don't know about?

+3
source share
4 answers

Zend_Translate / Zend_Locale are good and very flexible. They donโ€™t need the whole Zend Framework. They support gettext moo / .po files, as well as CSV and other formats.

+3
source

Hope this library helps you:

i18n - . -. , Gettext MySQL . setlocale PHP.

+1

, gettext, . BU gettext , php. PO, .

Im i18n , , gettext , 50-100 .

0

, / , ( , :) String - http://mygengo.com/string

, , , . API String, API (100... 1000) , !

If you are interested in the API itself, we recently held a competition for an award with some winners on several platforms (Wordpress, Django, etc.): http://mygengo.com/services/api/lab/winners/

Just thought I'd share.

0
source

Source: https://habr.com/ru/post/1755020/


All Articles