Hi all,

I was looking for a way to create different pot files depending on
which files are used for extraction. I can see that init_catalog,
compile_catalog etc supports something called domain which is probably
what I want. However, the extract_messages only seems to scan files
and produce one pot file. There is no domain specification.. Is this
possible within a single TG project?

For example:
<project_root>/module1/file1.js
<project_root>/module1/file2.js
<project_root>/module2/file1.js
<project_root>/module2/file2.js

Should create two pot files:
<project_root>/i18n/<app_name>-module1.pot
<project_root>/i18n/<app_name>-module2.pot

PS: The motivation for this is the following: We wanted to develop
plugins for our application. These plugins should have a separate
codebase, separate translation files etc. A side question, I guess, is
that could we pull this off using separate tg2 projects for each
plugin? (We are afraid that the syncing will be problematic since we
develop the main app and the plugins at the same time, right now even
though the plugins live in a separate folder, they belong to the same
tg2 project)..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to