Is there a quick way to inject i18n domain into theme/plugin files?

I do have prepared theme files (with __(), and _e(), etc), but they lack domain argument. There are lots of such string scattered around the theme files, editing by hand seems to be a dreadful perspective. Is there any tool to do this quickly? I remember there was a script somewhere, but I can’t find it now.

2 Answers
2

Ok, I finally found what I was looking for – Marking strings in themes and plugins. And here is the actual SVN repository for tools in question.

Leave a Comment