I translated my plugin with poedit, and it works fine on localhost, on new fresh wordpress instalation, but when i uploaded my plugin on server, on exsisting site, some russian charachters missing. I get latin istead, i encoded poedite files with utf8, same in header i have utf8. Where colud be problem, other poedit translation for romanian works well? In fact russian words are translate, but some letters, still in latin.
Is there some adjustments in config file, or something else? Also i download another wordpress site, and try my plugin on localhost, same results some russian charachters missing. Could be problem with some wordpress settings?
So russian translation works on new fresh basic wordpress instalation, not when i install my plugin on pre – exsiting site.
Usually string for translations are not stored in the DB, so the MySQL settings are usually not an issue. But to have a correct UTF-8 encoding with translations, make sure these requirements are set:
If all those requirements are set, you should see correct encoded characters.
From How to Fix the Character Encoding Problem in WordPress, try commenting out the following lines:
Make sure some of those characters are accidentally in latin1. Explained here: WordPress and MySQL character encoding
I think this post describes the same solution as 1 but still might be helpful. Seeing Weird Characters On Your Blog? Hereâs How To Fix Your WordPress Character Encoding (Latin1 to UTF8)
References on the WordPress Dev StackExchange: