Re: creating and using multiple po files for cleaner maintenance

2008-09-29 Thread exo_duz
This is the code that is being used, but this does not work for sites using layouts as the $this->set('domain',...) only picks up the last item that it is set to and not both. Is there a way to get both to work? So the default layout which uses "- layout-default.po" and the view to uses "-views-p

Re: creating and using multiple po files for cleaner maintenance

2008-09-29 Thread exo_duz
This is the code that is being used, but this does not work for sites using layouts as the $this->set('domain',...) only picks up the last item that it is set to and not both. Is there a way to get both to work? So the default layout which uses "- layout-default.po" and the view to uses "-views-p

Re: creating and using multiple po files for cleaner maintenance

2008-09-29 Thread exo_duz
Seems like I found the solution at: http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom-persistent-internationalization-tutorial On the bottom of the page in Comments no. 26 it explains how to use multiple .po files. On Sep 29, 4:46 pm, exo_duz <[EMAIL PROTECTED]> wrote: > Dr. Tari

Re: creating and using multiple po files for cleaner maintenance

2008-09-29 Thread exo_duz
Dr. Tarique, I have done that and have successfully made the default pot files from the CAKE console script. The only problem now is that it does not seem to pick it up on the page. I have kept all the names the same such as "-app-views-pages- default.po" and put all the files within /app/locale

Re: creating and using multiple po files for cleaner maintenance

2008-09-27 Thread Dr. Tarique Sani
On Sat, Sep 27, 2008 at 10:03 AM, exo_duz <[EMAIL PROTECTED]> wrote: > > Currently I am working with someone who isn't a programmer and I would > like to be able to structure the po files instead of just putting all > the translations in /app/locale/eng/default.po > You can create .po files on pe

Re: creating and using multiple po files for cleaner maintenance

2008-09-27 Thread exo_duz
Thanks Tarique. Will try that. On Sep 27, 1:44 pm, "Dr. Tarique Sani" <[EMAIL PROTECTED]> wrote: > On Sat, Sep 27, 2008 at 10:03 AM, exo_duz <[EMAIL PROTECTED]> wrote: > > > Currently I am working with someone who isn't a programmer and I would > > like to be able to structure the po files inste