If you need to translate some strings (if your extension prints or displays any messages besides debug messages), a few steps must be followed:
For every string needing translation, use the N_, _ or ngettext functions. For example:
Add the filenames with translatable strings to epiphany-extensions/po/POTFILES.in.