Title: Localization
Last modified: August 21, 2016

---

# Localization

 *  [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/localization-44/)
 * 1. Please add `load_plugin_textdomain()` function to `__construct`.
    2. Please
   make “Add a note for editors to see when editing this” translatable 3. Maybe 
   also change the textdomain string to be the same as the plugin slug “admin-page-
   notes” to support language packs.
 * [https://wordpress.org/plugins/admin-page-notes/](https://wordpress.org/plugins/admin-page-notes/)

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

 *  [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * (@joshlimecuda)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/localization-44/#post-4574080)
 * Got this added to the queue for the next release [https://github.com/BeardedGinger/admin-page-notes/issues/2](https://github.com/BeardedGinger/admin-page-notes/issues/2)
 *  [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * (@joshlimecuda)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/localization-44/#post-4574268)
 * I just updated to Version 1.1.0 which includes your suggestions for localization.
 * I did some tests but would love your feedback when you get a chance to test it.
 * Thanks!
 *  Thread Starter [Knut Sparhell](https://wordpress.org/support/users/knutsp/)
 * (@knutsp)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/localization-44/#post-4574270)
 * When changing the textdomain, be sure to change all occurrences. Now it’s a mix
   of `gb-page-notes` and `admin-page-notes`. This is confusing and makes plugins
   like Code Styling Localization not work for the other textdomain.
 * It seems the translations are loaded from the plugin root folder, not the languages
   folder. I use
 * `load_plugin_textdomain( 'gb-page-notes', false, dirname( plugin_basename( __FILE__)).'/
   languages/' );`
 * in my plugins (from codex example).
 * There is also a locale-less .mo file in the languages dir.
 * Anyway, it still works for nb_NO with the old `gb-page-notes-nb_NO.mo` in the
   root, but that is a bit unexpected.
 *  [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * (@joshlimecuda)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/localization-44/#post-4574274)
 * Thanks! I really appreciate the input.
 * Looks like I botched the localization :).
 * I’ll give it another go and test with the Code Styling Localization plugin. Should
   have it updated before next week.
 * Thanks!

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

The topic ‘Localization’ is closed to new replies.

 * ![](https://ps.w.org/admin-page-notes/assets/icon-256x256.png?rev=2902021)
 * [Admin Page Notes](https://wordpress.org/plugins/admin-page-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/admin-page-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/admin-page-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/admin-page-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/admin-page-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/admin-page-notes/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/localization-44/#post-4574274)
 * Status: not resolved