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?
- WordPress Plugin translation not working EN To FR
- Need to know if my approach to designing a geneaology plug-in for wordpress makes sense
- Upload Image with a file URL and show dynamically on Frontend
- How to override any plugin file in the child theme
- Why won’t wp_enqueue_script work within any plugin file?
- Help to Create a Simple Plugin to make a post
- GitHub plugins safe to use in my website?
- Unexpected add action function in WP plugin
- force logged in user to stay in the dashboard
- How to create admin setting for this small plugin
- Avada Live is broken on WP
- Error using wordpress functions inside a plugin class
- How to set plugin auto-update Enabled by default?
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- Translations not appended even strings are edited
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- How to Join wp_posts & wp_postmeta table using custom query
- Order by post_date does not work in Previous and Next post pagination
- Remove Zero Money From Previews Order woocommerce
- Visual composer custom element error
- How to set Google Analytics tracking code on WordPress plugin directory page?
- Allow a particular user to access a particular plugin?
- admin_notices show after load completed
- Prevent WordPress from sending set-cookie http header
- wordpress plugin add page when activate
- Cron: Update four post at Hour
- submit two file input fields in the same form
- admin_post hook not firing function inside class
- How to add styles to a submenu page?
- wp_insert_post not inserting post from XML
- Unexpected character and syntax error on wp-includes/formatting.php [closed]
- Activate Plugin Automatically After Set Time
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- How to display the category name in the tab and post inside the tab in WordPress?
- Error datatable whit ajax
- Thumbnail image doesn’t show up in Shortcode output
- How can I change a translation for a string in a plugin?
- How would I Redirect an existing WooCommerce customer to a specific url after Checkout
- Has blocks gutenberg block multiples registers type in my Plugin
- How can replace this url
- How to store a secret for a plugin inside public_html
- I created a plugin with ‘view page’ that uses MYSQL + PHP. When I use wp_insert_post(), it turns everything to HTML
- Fixed: Console.log twice in the edit function
- list of custom post by custom field in frontend
- Using OR Condition with facetwp facets
- Problem with MEMCACHE and Redis with wp_options
- How to copy the all WordPress media items to another custom plugin folder?
- Cannot run script properly with my custom plugin
- Cookie value changes back to previous value after changing
- How to implement color picker from WordPress in my boilerplate plugin?
- Using sessions or an alternative in a plugin
- custom post type plugin error [closed]
- Change plugin descriptions
- Correct way to expand custom WordPress plugin functions
- Personality quiz in wordpress using a plugin
- How can i solve php upgrade problem
- How can we get this dynamically as this folder may not be by the same name always → wp-admin