Multi-Language: best way?

HI

Which tool/way is the best for creating a multi-lang project in phalcon? (gettext, PO, NativeArray, CSV, ...)

I consider performance at all

If you want native Phalcon multi-lingual functionality, there is Phalcon\Translate available: https://docs.phalconphp.com/en/latest/reference/translate.html

and there's extra adapters on Incubator https://github.com/phalcon/incubator/tree/master/Library/Phalcon/Translate/Adapter for more logical usage.

edited Jul '15

thanks for your response.

sorry, I edited my question.

  • which is better?

If you want native Phalcon multi-lingual functionality, there is Phalcon\Translate available: https://docs.phalconphp.com/en/latest/reference/translate.html

and there's extra adapters on Incubator https://github.com/phalcon/incubator/tree/master/Library/Phalcon/Translate/Adapter for more logical usage.