there are many different solutions on how to translate I prefer an override of the model function http://www.dereuromark.de/2010/07/19/extended-core-validation-rules/
but you could also use other approaches out there On 10 Jul., 20:23, Davor Ilic <[email protected]> wrote: > yes it is but don´t know why. another problem i found is that i can > translate the error views. how can be this done. is there a other technic in > cakephp. i read that this func __() is a global func but when i use it in > falsh_error like __('Error') it don´t work > > 2011/7/10 euromark <[email protected]> > > > > > > > > > ^^ its the error way around, dude > > > msgid "Error" > > msgstr "Fehler" > > > On 10 Jul., 10:05, runckel <[email protected]> wrote: > > > Its hard to give you a solution with that kind of Question. So the > > > only thing i can say delete the cached po file /tmp/cache. Maybe thats > > > it, if not i think we need more code examples. > > > > On 7 Jul., 19:16, webfacer <[email protected]> wrote: > > > > > i have some english hardcoded text that i want to change when i´m > > > > switch to english language. > > > > i try the "localization in CakePHP" and it works well but some of the > > > > words won´t change : > > > > > msgid "Name" > > > > msgstr "Name" > > > > > msgid "Telefonnr." > > > > msgstr "Telephone-Nr." > > > > > msgid "Telefonnr." > > > > msgstr "Phone-nr." > > > > > msgid "Von" > > > > msgstr "From" > > > > > msgid "Bis" > > > > msgstr "Until" > > > > > msgid "Sitzplatz" > > > > msgstr "Seat" > > > > > msgid "Anfrage Senden" > > > > msgstr "Send request" > > > > > msgid "Senden" > > > > msgstr "Send" > > > > > msgid "Email" > > > > msgstr "E-Mail" > > > > > msgid "Text" > > > > msgstr "Message" > > > > > msgid "mehr" > > > > msgstr "more" > > > > > msgid "zurück" > > > > msgstr "back" > > > > > msgid "Fehler" > > > > msgstr "Error" > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
