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

@ all single post pages the text to indicate one needs to be logged on to leave a comment is not displayed as expected I have this gettext:

msgid "You must be %1$slogged in%2$s to post a comment."
msgstr "U moet %1$singelogd%2$s zijn  om een reactie achter te laten op dit artikel."

Which is loaded on single.post via comments.php there using:

<?php printf(__('You must be %1$slogged in%2$s to post a comment.', 'framework'), '<a href="'.get_option('siteurl').'/wp-login.php?redirect_to='.urlencode(get_permalink()).'">', '</a>') ?>

The language file is loaded via the parent theme's functions.php using load_theme_textdomain( 'framework', TEMPLATEPATH.'/lang' ); which should load the language file from the parent or child theme I think.

But the text I see is U moet iingelogd zijn op om een reactie achter te laten op dit artikel. How does this exta i get there?

Does TEMPLATEPATH only look for the lang file in the child theme? I do not think so otherwise I would have had no text getting translated as the child has no language file And second, if one is not true, why do I get this odd text?

share|improve this question

closed as too localized by toscho Mar 6 '13 at 23:37

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I guess there's something else interfering with your strings. Try to deactivate all plugins. – kaiser Mar 7 '12 at 11:39
Thanks for the feedback. Could be the case. Will try to check this when the site has low traffic somewhere this weekend or next week. – rhand Mar 17 '12 at 5:21