Hi.

I'm currently working on a block module that takes some text input and creates a standard footer. At the moment the block is up working, but now I want to add translations for the static text (wrapped in t() in the module and is successfully generated to .po files).

For this I've used the Translation Template Extractor (POTX) to generate a standard modulename.pot file from which I've created sv.po and en.po files with Poedit (following this guide). The files currently resides in modulename/translations/ and as far as I can see, it should work so that when I switch between the sites different languages the block text should switch accordingly. Only thing is, it don't.

I've tried to inactivate and reactivate the module and flushing cache to no avail but the module still doesn't use my .po files. As it is now I feel I don't know what else to try. Is there perhaps something I need to add to the .module or .info file manually to get Drupal to look for the translations?

Full code for the module is available here.