- To generate the .pot file, install the module Translation template extractor
- Go to the "Extract strings" tab on the Locale administration interface, select your module and submit the form. You will get one single template file generated.
- Then you can translate the strings with a tool like Poedit (http://www.poedit.net).
- When you are done, files should be copied to a "translations" sub-folder in the module folder, so they are automatically imported by Drupal when installing your game module.
drush command to force translations loading:
drush php-eval "locale_system_update(array('yourmodule_name'));drush_backend_batch_process();"