i18n
i18n copied to clipboard
Parsing files in referenced projects when building POT file, allowing multiple po files for application
A very typical scenario involves putting the model or some other shared classes (like a base controller) in a shared library that then multiple applications can use. In that scenario there are 2 things that would be desirable:
- Parse any projects that are depended upon to build their pot files as well
- Be able to include more than 1 po file so that the po files for shared projects can be reused as well. An alternative would be to parse depended projects into the single application POT file, but then you'll have replicated strings across the projects that use the shared library
For reference, scenario 2) alternative is now supported in v2 branch by setting multiple paths in the DirectoriesToScan appsetting (semi-colon-delimited).