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.
thanks for your response.
sorry, I edited my question.
>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.
xgettext that comes with gettext has built in Javascipt (and PHP) parsing. Templates are hit and miss and you need to make sure that there is a parser available so often you will end up looking for similar template systems to base on if you can't find one. There are parsers for Mustache and I've worked towards getting a Volt parser into xgettext-template but I need to finish that effort as of the moment I'm using it from under my personal github account.