Re: Localization, using multiple pot files

2009-09-23 Thread Crazy

Thanks, just what I wanted to know

On 22 sep, 18:30, Miles J mileswjohn...@gmail.com wrote:
 Of course you can!

 __('textString'); // Uses default.po
 __d('errors', 'textString'); // Uses errors.po
 __d('help', 'textString'); // Uses help.po

 On Sep 22, 8:00 am, Crazy crazy...@gmail.com wrote:

  Is it possible to use multiple po files?

  I have not started with localization yet, so I was wondering if it was
  possible.

  What we need is a general translation file, then one that contains all
  the errors and another one that contains all the help text.

  So my question is can I switch files somehow?

  The reason for this is that someone else will write the help texts,
  and we can then let him do that without having to use 1 big file with
  ALL our localized text.

  Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Localization, using multiple pot files

2009-09-22 Thread Miles J

Of course you can!

__('textString'); // Uses default.po
__d('errors', 'textString'); // Uses errors.po
__d('help', 'textString'); // Uses help.po

On Sep 22, 8:00 am, Crazy crazy...@gmail.com wrote:
 Is it possible to use multiple po files?

 I have not started with localization yet, so I was wondering if it was
 possible.

 What we need is a general translation file, then one that contains all
 the errors and another one that contains all the help text.

 So my question is can I switch files somehow?

 The reason for this is that someone else will write the help texts,
 and we can then let him do that without having to use 1 big file with
 ALL our localized text.

 Thanks
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---