WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. 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'm running Theme Check on a theme I've inherited and I've come across lots of recommendations like this one:

RECOMMENDED: Text domain problems in loop.php. The twentyten text domain is being used!

The site has no plans for being translated, so what's the best thing to do in this situation? Replace every reference to twentyten to my theme's text domain, or just remove all references of a text domain at all?

The WordPress documentation is a little confusing :-/

share|improve this question
up vote 2 down vote accepted

You can remove all the translation references if you don't plan on translating it. You can also leave it in place, it shouldn't hurt anything..

If you want to remove it, go through your theme files and find references to __(' Your Text', 'Domain') and just change it to the "Your Text" portion. (Sometimes, you may even see _e('Your Text, 'Domain')).

share|improve this answer

If you don't plan on translating it, you should be able to remove the text domain references without any trouble. They are not required.

share|improve this answer
...but you will hate yourself if you ever change your mind – s_ha_dum Mar 21 '13 at 14:06
True. However, the question does indicate that there are no plans to do so (which generally means no foreseen reason to do so). – jfacemyer Mar 21 '13 at 15:13

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.