Here’s the solution : I’m talking about my case here, When I added the Text Domain Name to Gettext functions in interface.php
file, I used this command line : php add-textdomain.php TextDomainNameOfThePlugin PathToInterfaceFile/interface.php > tdn.php
, So I generated tdn.php
as you can see in that command line, and constructed my POT, PO and MO files based on this UNUSED NEW FILE, and I forgot to either rename tdn.php
to interface.php
(and delete the old interface.php
) so I can use it, or to copy its content and paste in into interface.php
file that didn’t contain Text Domain Name in its Gettext functions.
So now, I just copied tdn.php
content to interface.php
, and the translation works perfectly.
Related Posts:
- Override plugin localization
- How can I translate the name of my Plugin for other languages?
- Why load_textdomain work but not load_plugin_textdomain?
- 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?
- Force language in translate function
- Can I load the textdomain before a plugin is activated?
- 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
- Use localized plugin name and description even when the plugin is disabled
- Change localization only for plugin
- Update plugin from personal API
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Symlinked plugin directory doesn’t appear in Admin
- enqueue script only if it is not already enqueue
- How can I limit functionality in one version of a plugin?
- How can I include a setting that has a variable number of values in a settings page using register_setting?
- Custom data-id wp_enqueue_script
- Yoast SEO blocking/re-initialising longer running process
- template_redirect not being called when using ajax
- Can I use the same textdomain in two separate plugins?
- How use %like% in sql statement wordpress
- Can I use a form in a dashboard widget?
- Is there a way to alter the order in which the plugins appear in the page?
- Retrieving plugin options value saved through setting
- How to ‘clone’ a wp plugin to make small changes
- MITM risk of not sanitizing?
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- Change plugin main file name (that is currently in the repo)
- Use translated taxonomy labels in plugin
- Edit Yoast SEO breadcrumbs output [closed]
- Enqueue WordPress plugin scripts below all other JS
- White page by using filter template_include
- Is there any kind of theme on WordPress to sell my own movies?
- Fromcraft Plugin On click submit button [closed]
- Suggestions on Approach to New Plugin I’m Stuck On
- How WordPress is able to change locale without using setlocale
- How to redirect users to their profile after they successfully edit their profile
- How I can internationalize variables within the function _e () __ (), etc?
- Insert Array in Plugin Database
- WordPress error: Options page Setting_ not found in the allowed options list
- What is wordpress way to access a plugin’s classes/models to load custom post type data?
- flush_rewrite_rules() not working with update_option_{$option}
- plugin wraps the entire content
- Shortcode Attributes to Return different $_POST
- How does translation (gettext) work for translating config file of plugin?
- How programatically cause uploads folder to be created?
- The “Child Pages Shortcode” plugin, block template
- using wp_footer hook in a plugin
- How to get a custom page through plugin?
- Want to create custom design of progress indicator in wpforms
- Using Class loader in WordPress boilerplate
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- Allow a particular user to access a particular plugin?
- How to display the custom post related blog by category?
- WP Forms not displaying,becomming an fatal error
- How to dynamically add template in Innerblock?
- Add style to body based on url
- $wpdb->insert not working inside save_post tag
- How to check for already existing plugin versions on activation? and prevent errors
- update_post_meta is not working for me when I use e.preventDefault for update button
- How to create a plugin with automatic update?
- Using foreach loop for `$instance` of form and update array widget iteration
- How to call a function from inside class to outside class
- Loading plugin script only on required page?
- Plugin management with my custom plugin
- How to pass value from WordPress to Javascript
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Plugin communication between sites that use it?
- wp meta_query meta_value compare =REGEXP delimited by space
- Create shared actions for admin and users with plugin bolierplate
- Provide http service by wordpress plugin
- How to insert variable which contain array value in wp_options table?
- How to Insert images in WordPress using code
- Javascript in plugin not working
- Theme editor removes backslashes
- shortcode which is introduced into entry the blog, and appears in side bar
- Widget Script Loads at Bottom of Page
- Plugin Hook: Get posts
- Why tinyMCE.editors doesnt work on tinyMCE
- How to Overwrite validate_plugin function
- get_option include in my adsense
- Form data to wordpress DB
- Register additional wp plugin directory
- How can I make a website with dynamic features with wordpress?
- How to display blog posts only authored by the administrator
- Send email notification when meet the condition
- redirect to custom php template in wordpress plugin directory
- How can I send api calls from my plugin?
- On the same site, how do I send data from a plugin file to a theme file?
- Plugin download link
- Gravity Forms and Gravity View Permissions
- Admin Notice is only localized when displaying the “Plugins” Backend Page
- Change weird Wp File structure
- Display file contents within Plugin