3

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?

2

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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