Hello! I can’t translate a plugin into Russian. Localization is set up, but more than half of the text remains untranslated. Why could this be happening? I open the file with the .po extension, find the necessary text string, and see that the translation is there. However, the translation doesn’t appear on the website. I’m using the Loco plugin.
Can you please provide some more details here? What’s the exact file (with path) that you are translating? Could there be a language file in the normal WordPress language files folder for plugins?
The file I am translating is called tablepress-ru_RU.po.
This file is located at: public_html/wp-content/languages/plugins/.
Everything works correctly on the website, but in the admin panel, the plugin interface is almost not translated into Russian. Is there any way I can fix this?
Could you tell me if I can attach a file here in the chat? I don’t see such a function. Or is it only possible to add a screenshot by providing its URL?
Thank you! Could you tell me how I can translate the highlighted areas into Russian? Where can I find this file and the line numbers responsible for translating the highlighted areas?
ah, I see. So, these strings are translated in JavaScript, using the normal WordPress JavaScript translation API. They should still be in the *.po file, but they will then not be in the *.mo file, but in some *.json files with “strange” names. If this is not working, I can only suggest to check with the Loco Translate team on this.
You will then get the correct translations automatically, and everybody else who uses Russian as the language for their site will also benefit from these translations 🙂
yes, those are the files. Each one is for a different screen. But you should not really need to handle with the individual JSON files! If you translate the *.po file, your translations plugin should be able to create these JSON files again.
But as I said: Maybe the translation on wordpress.org is more reliable for this, and it will ensure that your translation is also validated.
Best wishes, Tobias
Viewing 9 replies - 1 through 9 (of 9 total)
The topic ‘Help with translation setup, please.’ is closed to new replies.