Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

In WordPress localization files (.po), does php map files by the line number eg. comments.php:60 or msgid msgid "<span class=\"meta-nav\">&larr;</span> Older Comments".

So basically, if I have said string in comments.php in line 60, and move it to line 74, does it still get localized by the msgid?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

if I have said string in comments.php in line 60, and move it to line 74, does it still get localized by the msgid?

Yes it does. Localization does not depend on line numbers of strings.

share|improve this answer

Your Answer

 
discard

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.