Flourish PHP Unframework
This is an archived copy of the forum for reference purposes

Translating column names in error messages

posted by aris 9 years ago

Hello.

How could I do to get those column names in validation error messages translated? I'm using English names for all tables and columns. Although I have translated the most common error messages our users could receive (i.e. '%sThe value specified must be unique, however it already exists'), the affected column name remains in English. Am I missing something some fGrammar or fTtext feature I could use to do that?

Regards,

A.

Using fORM::overrideColumnName() and fORM::overrideRecordName(), you should be able to accomplish internationalization of the record and column names.

posted by wbond 9 years ago