Localization: missing load_plugin_textdomain() and hardcoded strings in admin.js
-
Hi, thanks for the plugin. I’m the Persian (fa_IR) translation editor for it on WordPress.org, and while testing the translation I noticed two things:
load_plugin_textdomain()is never called anywhere in the plugin. Since WP 6.7, relying on just-in-time loading can fail and leave strings untranslated. Adding it on theinithook would fix it.- Some of the text in
assets/js/admin.jsis hardcoded in English, so it never reaches the POT file and stays untranslated. Passing those throughllmscuAdmin.stringsorwp.i18nwould solve it.
Happy to test a patched build. Thanks.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.