By keesje on
Hello Drupalisers,
If I have a module installed and imported its translation, and see a language error, I make changes using the localisation module. From there, I only can export a whole language, or a POT file for all Drupal.
Is there a way to export a .po file per module? This would increase improvement posibilities, and to share this improvements or post them back to the author.
Comments
not possible
Drupal does not know what string comes from what module. Fix the error in the PO file you got for the module and send that to the translator.
You can't do that with
You can't do that with Drupal. But you can use external tools for this purpose:
First export all Dupal strings (to for example
nl.po)Then you can run, as mentioned in the translation guide:
msgmerge --compendium nl.po -o module-name.po /dev/null module-name.potThen you will have the translation of the module that you can send to someone with CVS access.
You can do this
The Translation template extractor module
http://drupal.org/project/potx