Title: Localization: missing load_plugin_textdomain() and hardcoded strings in admin.js
Last modified: September 20, 2026

---

# Localization: missing load_plugin_textdomain() and hardcoded strings in admin.js

 *  Resolved [Afshari](https://wordpress.org/support/users/saeidafshari/)
 * (@saeidafshari)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/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](http://WordPress.org), and while testing the translation I
   noticed two things:
    1. `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 the `init` hook would fix it.
    2. Some of the text in `assets/js/admin.js` is hardcoded in English, so it never
       reaches the POT file and stays untranslated. Passing those through `llmscuAdmin.
       strings` or `wp.i18n` would solve it.
 * Happy to test a patched build. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Sean Mullins](https://wordpress.org/support/users/seanmullins/)
 * (@seanmullins)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/localization-missing-load_plugin_textdomain-and-hardcoded-strings-in-admin-js/#post-19028214)
 * Hi Afshari,
 * Thank you so much for this (both for taking the time to identify the localisation
   issues and for completing the Persian translation.) I really appreciate it.
 * Your report came at exactly the right time as I was finishing the 2.0 release.
   I went back through the localisation implementation carefully as a result, including
   the JavaScript strings you highlighted, and made sure the new Curator interface
   was covered too.
 * 2.0 has now been submitted to WordPress.org. (literally about 30 mins ago). Your
   contribution genuinely improved the release, rather than just resulting in something
   being added to a future list, so thank you for speaking up when you spotted it.
 * Do let me know if any issues I can look into, particularly with Persian/RTL, 
   where you’ll inevitably spot things that I won’t.
 * Thanks again for contributing your time to the plugin.
 * Sean 🙂
 *  Plugin Author [Sean Mullins](https://wordpress.org/support/users/seanmullins/)
 * (@seanmullins)
 * [4 days, 17 hours ago](https://wordpress.org/support/topic/localization-missing-load_plugin_textdomain-and-hardcoded-strings-in-admin-js/#post-19030703)
 * Resolved with 2.0 release.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Flocalization-missing-load_plugin_textdomain-and-hardcoded-strings-in-admin-js%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/llms-txt-curator/assets/icon-256x256.png?rev=3499336)
 * [LLMs.txt Curator](https://wordpress.org/plugins/llms-txt-curator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/llms-txt-curator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/llms-txt-curator/)
 * [Active Topics](https://wordpress.org/support/plugin/llms-txt-curator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/llms-txt-curator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/llms-txt-curator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sean Mullins](https://wordpress.org/support/users/seanmullins/)
 * Last activity: [4 days, 17 hours ago](https://wordpress.org/support/topic/localization-missing-load_plugin_textdomain-and-hardcoded-strings-in-admin-js/#post-19030703)
 * Status: resolved