Monday, September 29, 2014

i18n base language and database fields

Hi,

I follow cakePHP conventions, so my database tables and fields have english names, as it so for cake's default error messages. I am building a webapp for a Hungarian client. I would like to use i18n as I think later the client will need internationalizing and localizing. But for now they do not need it.

So I do not want to create all my view files strings in English and than translate to Hungarian, but I want to use translate behaviour to translate database field names to Hungarian.

What is the best approach for this scenario?

rrd

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: