Hi there,

There seems to be a problem with cached locaisation files.

The problem occurs with cake-beta as well as cake-rc1.
Windows or linux server, both the same.

If you have localised strings with escaped Quotes, the backslash
appears in the cached version, but not in the uncached. I think it's a
problem with the serialization of the L10n/I18n Objects...

Example:

.po file:
msgid "quote"
msgstr "This is \"a quote\""

view:
<?php __('quote'); ?>

Results in:

This is a "quote"
(if Cache is DISABLED)
this is the right behaviour i think

This is a \"quote\"
(if Cache is ENABLED)


Am i doing something wrong? Some strange escaping config options in
PHP?!
I don't think so, but never say never again...

Or is it a bug?

Cheers,
Joachim
--~--~---------~--~----~------------~-------~--~----~
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