A .pot file (for all the included modules) would be convenient.

CommentFileSizeAuthor
#8 ad.pot_.txt57.76 KBsun
#5 ad.de_.po_.txt57 KBnath

Comments

jeremy’s picture

I'll need to figure out how to generate .pot files. I'm adding a link to the Drupal translator's guide for my future reference when I find the time to look into this.

jeremy’s picture

And a second link to the translation template extractor project which appears to be the currently supported method for generating .pot files.

jeremy’s picture

And evidently this version of extractor.php for generating .pot files from 4.7.x projects.

nath’s picture

Component: ad.module » ad module

Any progress on this?
It would be nice to have a German translation of this module.

nath’s picture

StatusFileSize
new57 KB

Attached a first try of a German translation.

rmpel’s picture

You can generate a .pot file with the module potx (http://drupal.org/project/potx, as indicated above)

I am aware of some issues with these .pot files (it's not my extractor, I just use it :P)

1. remove the plural indicator in the header
2. change

msgid "1 item"
msgid_plural "@count items"
msgstr[0] ""
msgstr[1] ""

to

msgid "1 item"
msgstr ""

msgid "@count items"
msgstr ""

Worked for me :)

nath’s picture

I had some issues with the plural form as well, thanks for the tip.

sun’s picture

Status: Active » Fixed
StatusFileSize
new57.76 KB

Attached is the translation template file I've just committed to the po directory of DRUPAL-5. Please use this file as template for your translations.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.