Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I know I can use poedit to do this. I can't seem to find any other tools for the job. Also, is there a similar tool that scans my code and makes a csv file for translation? I'd rather use CSV actually.

share|improve this question
up vote 0 down vote accepted

You can use xgettext to scan C/C++ source code and extract gettext strings. For python code, use instead (it ships with Python).

share|improve this answer
I see that xgettext can handle PHP as well, which is what I'm after. Thanks! – d-_-b Sep 17 '10 at 3:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.