but I see in the generated php files in the tmp/cache/views directory
that the strings (once translated for the first time) are hardcoded...
probably what you say is that a table for translating strings is cached
(in tmp/cache/persistent directory) but just not to reparse the .po
files I guess...
Lorenzo
On 05/12/2011 07:18 PM, Miles J wrote:
I dont know for sure, but a cache is created for the language you are
currently browsing on. If I switch from english to german, it will
cache another set for the german strings if german hasn't been cached
yet.
On May 12, 6:02 am, Lorenzo Bettini<[email protected]> wrote:
Hi
I started to localize my application adding a new language (I've always
used _( )) in my code.
If cache is enabled, and the language is changed, those strings are not
translated again, am I right?
What is then the right way to make language switch in the presence of
localization?
many thanks in advance
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
--
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