pyramid module's i18n (config.include included)

32 views
Skip to first unread message

Grzegorz Śliwiński

unread,
Feb 12, 2013, 9:22:33 AM2/12/13
to pylons-...@googlegroups.com
Hi,

I'm working on some i18n app in pyramid, and also extracted some functionality into common modules which provide functionality and actions.
And I have several questions about i18n process in pyramid:
Is it possible to provide translations for messages delivered in this project?
Can I >>overwrite<< this translations in pyramid app somehow?
Where's the extract point for messages from such plugin?

Chris Rossi

unread,
Feb 12, 2013, 9:26:20 AM2/12/13
to pylons-...@googlegroups.com
To the extent that I understand what you're asking, I think it's pretty well covered in the documentation:


Chris

Grzegorz Śliwiński

unread,
Feb 14, 2013, 10:08:51 AM2/14/13
to pylons-...@googlegroups.com, ch...@archimedeanco.com
So... each of these projects will have it's own translation file, and All I'll have to do would be to add their translation dirs in app config, or within an included module, right?

Okay, going further from this point,
Is there some simple way to add translations from included module in an app, but still preserving different domain? Most preferable by extracting it's translations to own translation domain by running python setup.py extract_messages (and the other commands). I'm going to add some possibility to modify all translations from within app, and it seems that the best way to do that is to keep them in the same place.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages