[translations] Translation templates for modules with sub-modules
Gábor Hojtsy
gabor at hojtsy.hu
Fri Apr 11 09:16:14 UTC 2008
On Thu, Apr 10, 2008 at 9:21 PM, Vasileios Lourdas <drupal at lourdas.name> wrote:
> I've contributed the Greek translation for a few third party modules. Here's a
> question that arises some times.
>
> A few modules (eg. module foo), have also sub-modules (eg. subfoo1, subfoo2,
> etc.) that provide additional functionality to foo. When I run the command
> line version of potx inside the module foo directory to extract the .pot
> file, the default behaviour of potx is to parse all files, so it generates a
> template for all existing modules in that directory (foo, subfoo1, subfoo2,
> etc.). However, I am not really sure this is a correct procedure, because of
> the fact that the user is able to enable only foo and not any of its
> submodules. So, what's the correct procedure to handle all sub-modules?
> Should there be an individual .pot file for each sub-module or one big .pot
> for all?
There are other modes of potx-cli.php to run, try running it with
--help and choose.
Gabor
More information about the translations
mailing list