Friday, November 23, 2012

Localization in Themes

Hi! 

I'm creating a website with multiple Themes and for each Theme the translation can be different or they can use different words in the Theme.
Is it somehow possible to create a locale just for that Theme? 

So far I managed to use the __d() function and for each theme to have its own .po file. 
But I don't want my locale folder flooding with files. Can I put a locale file in the Theme folder or add a folder to the language folder so LC_MESSAGES and THEMED_MESSAGES would be sepparated? 

Thanks for reading!

--
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 post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate