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?

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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