It's good form to have messages referred to by id - makes it a lot
easier and reliable when you need to change the text of a message -
essential when you're doing multilingual sites. I used to precede all
non-referenced messages with * during the development phase, so that I
could see straight away they needed to be dealt with. Now, with the
P28n component, I just leave the messages in lowercase (the ids are
uppercase e.g. THIS_IS_A_MESSAGE_MY_VIEW). Then they stand out like a
sore thumb if you use poedit in windows.

P28n and the po files, incidentally, aren't just for message
translation into other languages. They are a great tool for what you
describe as well.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to