why should we use native php gettext instead of gettexxt library -


i'm including gettext library in application. but, our team decided go native php gettext. gettext library accepts string , converts using "translate" function defined in library. how can shift native lib? performance? suggestions on using native lib. in advance.

it performance , ease of use.

when use external library inside php using system() e.g., pros able use of options, make power user. cons that, each time run it, have parsing of return string , figure out results , stuff, hassle , pretty error prone.

when use language-binding of external library, cons confined api calls binding provides. pros return values, error status etc defined within api calls handling calls easier.

this tradeoff , vary case case whether 1 should use native interfaces or execute library directly.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -