We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Translations on Form

Hi, Phalcon Masters. Anyone know how to translate the forms ?. My class UserFrom.php extends Phalcon\Forms\Form but do not have access to translations to bring them into the placeholder or label fields.

Someone has made multi-language forms? Thanks :)



58.4k
Accepted
answer
edited Aug '16

Nice solution to call translate function anywhere. Good job! Thanks.