Hello Dolly is a specific edge case, it does not translate itself. Rather it’s considered a part of the WordPress codebase, and has a translated title in the WP core language files.
Instead, to have a plugin name translated, you need a language file that maps to the textdomain
specified in your plugin, that contains your plugin name. This needs to be in the wp-content/languages/plugins
folder or in the appropriate location inside your plugin. e.g. for mytestplugin
it could be mytestplugin/mytextdomain-en_US.mo
where mytextdomain
is what you specified in your plugins header.
This is done via _get_plugin_data_markup_translate
( which has a special override for hello dolly ), and uses load_plugin_textdomain
.
Related Posts:
- What is the way to ship read-me strings like plugin-strings for internationalization?
- Making my plugin translation ready. Poedit not working
- 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?
- Translation issue with global variables
- How to ignore extra whitespaces in translation functions like _e?
- Plugin not properly prepared for localization
- Translate a plugin using .po .mo files
- Override plugin localization
- Editor access to plugin settings
- translation does not work with text_domain
- How can I translate the name of my Plugin for other languages?
- Custom values are not translated
- Plugin translations problem
- Created Widget Not Showing up on Admin Panel
- Why load_textdomain work but not load_plugin_textdomain?
- Language Translation is not working?
- Override plugin text domain in child theme
- Can I use a form in a dashboard widget?
- load_theme_textdomain path
- Read text defined under __()
- Determine Registered Admin Menus
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Two text domains in one plugin
- Use translated taxonomy labels in plugin
- Force language in translate function
- Can I load the textdomain before a plugin is activated?
- How to exclude certain files from the plugin editor?
- Translations for my plugin don’t show up
- Setting Email locale before retrieving gettext translations
- I changed font of wordpress dashboard but it is slow!
- How does translation (gettext) work for translating config file of plugin?
- How to translate user added content in a plugin
- Translation for a text that is not printed on the screen
- How to access a wordpress plugin page or add posts without doing it from the WordPress dashboard?
- I dont know why my localization is not working
- Plugin: Translated plugin is “not translated”
- Change localization only for plugin
- Locale changed but plugin still showing default language
- WP internationalization not loaded
- Plugin translations are not loaded from translate.wordpress.org
- Admin Notice is only localized when displaying the “Plugins” Backend Page
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- Get plugin_dir_url() from one level deep within plugin
- Notify Admins about Plugin Merge
- Extension preview disapeared since WP 4.5.2
- Adding Featured Image in Post List
- Why does including a file in theme’s functions.php not work?
- OEmbed from Pinterest
- Should I use RIPS tool to test my themes and plugins?
- Add Top-Level Menu that opens URL
- Plugin Functionality Only for Editor and Administrator
- Plugin to hide admin menu (vertical menu bar)
- action-scheduler vs wp-background-processing
- Do you clean up your self-written plugins’ at deactivation?
- Global matrix for shortcodes/content for every page
- How to make an interface similar to multi-site for switching between multiple (single) sites for administrators?
- How to write a plugin to add users to a mail list
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- AJAX search posts and pages
- Combine scripts from all extensions of the plugin when an extension is activated
- Modifying Author Link to add Author Meta in URL
- Checkbox conflict in my custom plugin admin page
- Can a Plugin Override New User Default Role Type
- How do I add content to the dashboard in WordPress?
- Great blogs site resources/tutorial for WordPress Developers? [closed]
- Create custom pages with a plugin
- Is it possible for a plugin to force reading and writing of uploaded images to a database instead of to a filesystem?
- Amazon.com intergration with WordPress?
- Change letters for day name
- (WordPress 5.8.3) Function.php or a plugin for better performance? [duplicate]
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Elementor Custom Control: How to get input value?
- Minimize and Uglify WordPress Plugin Files
- How to translate wordpress error message
- How do I make sure that my plugin only runs on article detail pages?
- WordPress API functions not working at AJAX functions.php call
- Creating a search form and displaying results
- How do I show content from a plugin using the template the site is currently working with?
- How to check homepage contain blog post?
- More gentle way to hook WordPress custom url
- Creating one user access account for all the multiple sites
- Custom plugin settings page with tab. Error: “Sorry, you are not allowed to access this page.”
- return bbp_get_topic_author_id as integer
- I am Getting Sorry, no posts matched your criteria on form submit only for certain page [duplicate]
- Dynamic input fields in WordPress Plugin
- Custom role not listed
- How to add a box note in wordpress plugin page ? top header side.
- WordPress Widget: Is it possible to make the form dynamic without updating?
- Why some plugins are including wp-includes/plugin.php file?
- Change default url to plugin custom post type
- Creating a user ‘add custom field’ section
- How can I pass value to function in add_menu_page?
- How to show post attachment image
- Making a Custom Post Type Publish Loop
- How to hide a piece of code from a wordpress web page?
- How to dispaly post informations (such as titles) in an admin plugin menu page?
- Someone Comment 1000 times in a Day in My WordPress Site, What Can i Do
- get_option returning a different value from what’s saved
- Allow manage_options capability for specific user only for specific plugin?