Plugins and I18N

已查看 40 次
跳至第一个未读帖子

huisman.peter

未读,
2008年1月23日 01:50:312008/1/23
收件人 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

未读,
2008年1月29日 18:20:372008/1/29
收件人 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

未读,
2008年1月30日 16:18:532008/1/30
收件人 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
回复全部
回复作者
转发
0 个新帖子