Actually this si 2 questions. 1. View files are generated by bake. So I have for example: echo $this->Form->input('name'); This will generate a lable contains the string 'Name'. As I understand it could be translated into Hungarian without manually adding the label property, and than use __() method and translate. But I am not sure how should I do the translation. i18n shell will automatically extratct coloumn names also?
2. I added a menu to my default.ctp with a lot of links in an unordered list. Links are in Hungarian as the current request from the client is Hungarian only. I am pretty sure that they would like to have English also, but later. So this is a teoretical question. What should I do? a) make it Hungarian without __() and worry about other languages when they actually ask it? b) make it Hungarian with __() and later I could make translation c) make it English with __() and do Hungarian translation now. d) something else. rrd 2014-09-30 14:40 GMT+02:00 José Lorenzo <jose....@gmail.com>: > I'm not sure I follow, can you give an example of what you need to do? > > On Monday, September 29, 2014 5:55:20 PM UTC+2, Radharadhya Dasa wrote: >> >> 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+unsubscr...@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. > -- 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+unsubscr...@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.