Looking at the source load_plugin_textdomain
takes three arguments:
load_plugin_textdomain( $domain, $abs_rel_path = false, $plugin_rel_path = false )
It seems you are passing the absolute path to your language domain, as a relative path. Try:
load_plugin_textdomain( 'myplugin', ABS_PATH_TO_LANGS_DIR);
Related Posts:
- Force language in translate function
- Language Translation is not working?
- Change localization only for plugin
- How to keep plugin translations after updates?
- Edit plugin without hooks in functions.php
- Override plugin localization
- How can I translate the name of my Plugin for other languages?
- What is the way to ship read-me strings like plugin-strings for internationalization?
- Making my plugin translation ready. Poedit not working
- How to set a custom title per language?
- Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
- load_theme_textdomain path
- What can be reason for no plugin-strings available under stable section on translate.wordpress.org?
- Is there a way to test that readme looks in other language before submitting translation?
- Can I load the textdomain before a plugin is activated?
- How WordPress is able to change locale without using setlocale
- Translations for my plugin don’t show up
- Translation issue with global variables
- How to ignore extra whitespaces in translation functions like _e?
- Plugin not properly prepared for localization
- How to handle a WordPress blog with articles in different languages?
- Language translation on a fresh english installation
- Translation for a text that is not printed on the screen
- Use localized plugin name and description even when the plugin is disabled
- I have English words in Kurdish pages
- How do I add languages?
- How do I change a plugin language of only one page?
- WordPress Site in Multiple Languages
- The Best Multilanguage Plugin supporting the FSE [closed]
- WordPress Plugin translation not working EN To FR
- Multilingual WordPress Website with multiple source languages
- Uninstall, Activate, Deactivate a plugin: typical features & how-to
- Best way to initiate a class in a WP plugin?
- How do you debug plugins?
- How to structure a plugin
- What’s the preferred method of writing AJAX-enabled plugins?
- Add multiple plugin directories
- What are the differences between WPINC and ABSPATH?
- Translate a plugin using .po .mo files
- How to add a shortcode button to the TinyMCE editor?
- Where do I put the code snippets I found here or somewhere else on the web?
- What Plugins Demonstrate Great WP Plugin Development? [closed]
- is_plugin_active function doesn’t exist
- Delete WordPress plugin Repository
- Custom pages with plugin
- How to change a user’s password programatically
- Who are the most trusted plugin developers? [closed]
- How can I find plugins’ slug?
- List all sidebar names?
- What are the common security flaws I need to look for? [closed]
- Get plugin_dir_url() from one level deep within plugin
- Pass PHP variable to javascript
- Where is the best place to use add_filter
- Can a developer adopt a plugin marked as “not updated in over 2 years”?
- Conditionally enqueue a widget’s script/stylesheet in HEAD (only when present on page!)
- How to implement WordPress plugin update that modifies the database?
- What is difference between get_bloginfo(‘url’) and get_site_url()?
- Custom media upload content for inserting custom post shortcode
- Stop a plugin in the activation process when a certain WP version is not met then show error message in admin_notices action hook
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- How to Add an Index to Plugin Database table
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- how to create child WordPress plugin
- Can I leave off plugin textdomain for terms used in core?
- Redesigning Custom Post Type “Add New” page
- How to safely sanitize a textarea which takes full HTML input
- How to Remove Certain Screen Options and Meta Boxes from add/edit post type?
- Making my plugin multi-site compatible
- Why activate_plugin is not working in register_activation_hook
- How to get a translated string from a language other than the current one?
- Get plugin directory from a theme
- dealing with large HTML output via plugin code
- Best Practice for Referencing the Plugin Directory
- Getting Path To Uploaded Attachment Image After Upload
- Update plugin from personal API
- Giving Multiple Authors Access to a Plugin’s WP.org Repo
- How to set back-end language per user?
- Plugin upgrading: Widget settings
- Create a table in custom plugin on the activating it?
- How to call a plugin function from index.php
- dbDelta only creates the last table
- How would you require and automatically download dependent plugins?
- Update my custom WordPress Plugin through my own server [duplicate]
- Do plugin files have to follow a specific convention to be “picked up” by WordPress?
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- How can I make it so the Add New Post page has Visibility set to Private by default?
- My custom made plugin has “a new version available” which links to unrelated plugin
- wp.media update options and force render on uploader
- WordPress Plugin Development In MVC Architecture, How?
- Creating two database tables via plugin
- Is it a good idea to edit an already existing plugin to add more functionality?
- How to stop showing admin notice after close button has been clicked
- Custom Filter in WordPress to modify footer information via plugin?
- Checking if an attribute exists in a shortcode
- How to create a WordPress plugin for another wordpress plugin?
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Query Posts by Custom Field ‘Price’
- Rewriting every url
- Is There a WordPress Hook to Filter the Edit Posts View?
- Symlinked plugin directory doesn’t appear in Admin