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]
- Does the number of downloads displayed for a plug-in in the WordPress.org plug-in directory include automatic updates?
- Why do I get this “plugin does not have a valid header” error?
- Which method is best to enqueue scripts
- WordPress Capabilities: edit_user vs edit_users
- Making plugin unique to not conflict with plugins with the same name
- Is there a WordPress Plugin that allows voting “does this coupon work” on specific links like Retailmenot
- How to get posts by content?
- Built in admin ajax hooks?
- Force plugin to fail activation
- Extend the Admin Post/Edit page
- Unable to load stylesheets and scripts to plugin settings page
- Correct way to use register_activation_hook
- How WordPress knows where to find locale files?
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- Licensing of freemium plugin
- $wpdb working with ajax but showing ajax error instead of success
- Default Plugin Settings Not Writing to Database
- Create a custom page template inside my wordpress plugin
- How to pull code snippet from functionality plugin?
- White page on custom plugin option submit
- Best approach to fetch data from wp options to js file or php file
- How to add Internationalization in WordPress using Javascript/React?
- creating html reusable blocks via shortcodes
- I want to auto populate data in three fields if one drop down is selected
- How does task scheduler plugin implements cron that is not dependent on page load request? [closed]
- how to use in custom single.php template using php?
- How can I change the meta_key for a particular piece of information?
- Howto check version of another plugin and then add a submenu page to it
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Settings API saved values not getting shown in the dropdownbox
- How to add custom table style for table block in gutenberg editor
- Issues with a WP plugin menu system
- Add a “View all” button on WooCommerce product archives pages
- How do I add an options page at the bottom of the list?
- Unable to give correct path in wordpress
- Disable variations on woo commerce if out of stock
- How to add img into a plugin?
- A question of etiquette when forking a plugin? [closed]
- how to request a script more than once in wordpress
- How to log custom plugin error to debug.log file
- Gutenberg default attributes are empty when accessing in edit
- How to hide plugin submenu title in drop down in admin panel in wordpress?
- How to create admin setting for this small plugin
- How to fix caching issue in PHP data from database
- Adding shortcodes to multiple pages with function
- SASS not showing in customized preloader plugin
- How to securely controlling data without keeping it in postmeta?
- Get a list of Product Categories inside a loop
- Can you develop themes and plugins while using the hosting services BlueHost? [closed]
- Using multi-dimensional array with filter
- PHP header() not available to use in my plugin
- Translation plugin with default language?
- wordpress ajax pagination object value does not change
- Google analytic issue in wordpress
- Custom pages with plugin
- How to insert category name above post title in a featured pages plugin?
- Displaying friend’s posts only
- What’s the preferred method of writing AJAX-enabled plugins?
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- wp_update_post call really slow when official Facebook plugin is installed
- How to set-up multiple cron task with wp_schedule_event so that they do not overlap?
- Site is setup statically – how to make it content managable?
- Modifying lightbox plugin to allow for quoting, Does this exist? [closed]
- Plugin version number after code rewrite [closed]
- How to escape html code?
- add_meta_box showing blank screen in my page
- Plugin translations are not loaded from translate.wordpress.org
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class
- How do i fix this error?