Plugins and I18N

42 views
Skip to first unread message

huisman.peter

unread,
Jan 23, 2008, 1:50:31 AM1/23/08
to CakePHP Bleeding Edge
Can anyone tell me where to put and what the filename must be for
the .po files for my pizza_order model plugin.

app
/plugins
/pizza
/controllers
[pizza_orders_controller.php]
/models
[pizza_order.php]
/views
/pizza_app_controller.php
/pizza_app_model.php

gr. Peter

francky06l

unread,
Jan 29, 2008, 6:20:37 PM1/29/08
to CakePHP Bleeding Edge
You have to put them in the Application ./locale folder. I think there
is, not yet, a "locale" place for plugin neither a possibility to have
multiple storage folder (as for views etc ....)

huisman.peter

unread,
Jan 30, 2008, 4:18:53 PM1/30/08
to CakePHP Bleeding Edge

Thanks!

Can you tell me what .po filename to use for the PizzaOrder?
app
/locale
/eng
/LC_MESSAGES
[?.po]
/plugins
/pizza
/controllers
[pizza_orders_controller.php]
/models
[pizza_order.php]
/views
/pizza_app_controller.php
/pizza_app_model.php

Is it possible to import a specific .po file like inporting models
using App::import('Model', 'pizza.PizzaOrder')?

gr. Peter
Reply all
Reply to author
Forward
0 new messages