Problems with translating core files and fix (?)
-
Hi,
I installed this plugin for translating the WordPress core files.
I had the 2 files nl_NL.po and nl_NL.mo for my language in the right place with correct permissions etc.
I could make translation changes and save them for all other language files (of my theme, plugins etc.), but these core files gave the error ‘Invalid data posted to server’.I dug into the plugin files and found for this error to show, in loco-posave.php it checks for a few things, and the name ($name) was the culprit. When I delete the $name check on line 9, saving works fine.
Not sure why these files don’t have a name, need a name, why this check is there, and what the implications are of removing it. But for now it seems to work.
I hope you can fix this in a new version.
- The topic ‘Problems with translating core files and fix (?)’ is closed to new replies.