Looking at this again, I finally saw it: $clgs_settings_descriptions
is defined globally, during plugin load. The textdomain is loaded at action hook plugins_loaded
, which is obviously later…
Related Posts:
- How to make a WordPress plugin translation ready?
- How to provide translations for a WordPress TinyMCE plugin?
- Preparing a string in an array for localization
- Shortcodes, output buffering, and WordPress functions
- Problems with localization
- Multiple textdomains
- How to properly load text domain of custom mu plugin
- `wp_set_script_translations` with `wp.i18n` does not return translated strings in simple plugin
- WordPress Localization and Templating
- How to properly load text domain of custom mu plugin
- Can’t we use strings defined as PHP constants if we want to translate them in a plugin?
- How to update the language used by wordpress from a plugin
- WordPress: After Gutenberg plugin migration to block.json the localization/ translations with PolyGlot in JavaScript does not work anymore
- Singular name Plugin localization
- How to i18n text coming from the db or from an external source
- Should I always prefer esc_attr_e & esc_html_e instead of _e?
- Should shorcodes in i18n plugins be translated and if so, how?
- A better way to include localized labels in WordPress plugins
- How to render a time-of-day string like ’16:42′ with a site’s chosen time format?
- Frontend language per user
- Generate JSON files for language translation from po file without wp-cli i18n make-json
- Shortcode returning localized HTML part
- load_plugin_textdomain doestn’t work with add_action plugins_loaded
- How to prevent someone from entering strings without making it available for translation?
- I18n not working in plugin
- Mixing l18n string from my plugin with WordPress’ translations
- Plugin language always shows WP site language, not profile language
- Is hint for translator compulsory while internationalizing a string containing variables?
- Do I lose translations when I change my Text domain for my plugin on wp.org?
- Transform internationalized plugin into internationalized mu-plugin?
- Translation not working for Constant strings in Plugin
- How are themes and plugins localized using the gettext GNU framework?
- Save translation file of third party plugin in a custom plugin?
- React Plugin Settings Page Localization
- How to get locale within WP REST Request?
- How to include PHP files in plugins the correct way
- Prevent network activation of plugin
- Add Custom User Capabilities Before or After the Custom User Role has Been Added?
- Get list of scripts / styles and show file which enqueued them
- WordPress updates defined vs add_filter?
- How can I track active users of my plugin? and why doesn’t WordPress.Org offer this?
- Empty POST data on server on AJAX request using Angular $http
- Custom attachments uploader code. Almost there!
- $wpdb->insert is changing a value
- What are the default WordPress password requirements?
- Can I get all options using the option group id? [closed]
- Actions or filters fired when data is saved in a custom table
- Implementing namespaces in plugin template
- Conditional add_filter?
- The plugin generated 80 characters of unexpected output!
- How to update/auto-update my private plugin? [duplicate]
- How to use WP default post list tables in a plugin?
- What’s the Right Way to get and save remote data for a Gutenberg block?
- Commit changes to WordPress Plugin SVN with TortoiseSVN
- add_shortcode is not working [duplicate]
- Show add_meta_box by selecting a specific category
- Retrieve contents/page names of various pages for use in a plugin
- How do I dynamically render an InnerBlock inside a dynamic block?
- Does WordPress run install/uninstall functions on plugin upgrade?
- How to filter the_content() & include content from template
- Is @wordpress/env locked to node v14 or can I also use node v16?
- ResizableBox with RangeControl not working
- WordPress Custom URL
- wp_mail() headers multipart/alternative
- Can I load the textdomain before a plugin is activated?
- WordPress Plugin Activate / Deactive Failing
- How can I add a simple custom field to my plugin?
- Custom Plugin – CSS works, JS doesn’t
- Inserted double quote when prepending to the_content
- unable to wp_enqueue_script(‘suggest’);
- update_post_meta doesnt update template
- Setting global block attribute value
- Plugin custom post template; without overriding all posts
- Gravity Forms Anchor only on Front Page?
- Plugin Development: Storing and Manipulating Data That Fits JSON in Database
- How to set a header in wp_safe_remote_get()?
- Multiple page plugin settings
- sanitizing/escaping plugin options
- can’t access some WordPress function from my plugin
- script seem not load with use wp_enqueue_script
- Impossible to declare box-shadow with wp.customize?
- Get search result count in plugin
- Override woocommerce loop-start.php from theme using plugin?
- Rate limiting ajax requests in WordPress
- How to filter an action inside class in MemberPress plugin?
- XMLHttpRequest to open PHP file responds with Missing Page
- Pre-populated WooCommerce checkout fields: dropdown fields issue
- jQuery dependent script ignores $in_footer bool and doesn’t work in header
- how to retrieve post_id under woocommerce_add_to_cart_validation hook?
- Pull commentdata for pre_comment_on_post from comment_post_ID
- Get the post ID only off single page
- Bootstrap collapse in custom WordPress widget
- Page reload occurs before request finishes
- PHP Fatal error when using plugin_basename
- How to Rewrite WordPress URL for a Plugin
- append code after the_content not working
- What does $_REQUEST[‘redirect_to’] do?
- how can a plugin return an error message on activation?
- Declaration of mandoe_menu_walker::start_el(&$output, $item, $depth, $args) must be compatible with Walker::start_el(…)
- Reading the inside of