From https://developer.wordpress.org/themes/functionality/internationalization/
Themes that are hosted on WordPress.org the text domain must match the
slug of your theme URL (wordpress.org/themes/). This is needed
so that the translations from translate.wordpress.org work correctly.The text domain name must use dashes and not underscores and be
lowercase. For example, if the theme’s name My Theme is defined in the
style.css or it is contained in a folder called my-theme the text
domain should be my-theme.
Related Posts:
- load_plugin_text_domain() never works
- How to debug load_textdomain?
- Translation of this theme not showing up in the real host. why?
- Using Number in Text domain
- Load textdomain in the website, not in the admin, based on user settings not general settings
- What is a Theme textdomain?
- Is it ok to use a function to output the text domain name in a wordpress theme
- Is a text-domain necessary for a child theme
- Why is “plugins_loaded” not called/fired?
- How to debug failed load_theme_textdomain()?
- switch_to_blog(): Load textdomain
- How to load translation in JavaScript?
- Overwrite textdomain of plugins by default – Lost Translation
- Warning/Notice about functions.php
- load_plugin_textdomain in `plugins_loaded` or `init`?
- translation does not work with text_domain
- Theme elements not translating
- How can I translate the name of my Plugin for other languages?
- Multiple textdomains
- Localization / textdomain is slow and chaotic
- How to override languages files in wp-content/languages/themes with child theme
- Multiple text-domains per single plugin – admin and frontend
- Theme check: Missing a text-domain
- load_child_theme_textdomain doesn’t work in function.php
- Problem in Internationalizing a plugin built for network level usage
- How to reload wordpress textdomains at runtime
- How to get menu strings, categories and tags into po file for translation
- Use WordPress default text domain for translating labels
- Find proper “text domain” within theme
- Internationalization: Not loading plugin translated text
- Simple way to get two language WP site
- Plugin translations not installed but… strings are translated!
- .mo translation strings not loading in PHP scripts that handle AJAX calls
- Two text domains in one plugin
- Action hook load_textdomain $domain variable
- Should I change text-domain of TGM library inside theme?
- Use the wp-admin translations on the front end
- How can I see my theme’s text domain?
- Does the textdomain have to be the theme’s name?
- WordPress Theme .mo-file won’t load
- Theme doesn’t want to load localization files
- Should all references to a text domain be to my current theme?
- How to solve a translation function issue with no arguments and missing a text-domain?
- WordPress filter load_textdomain_mofile not working inside a child theme’s functions.php but works form inside a plugin
- Fix Problem With Textdomain Translation
- How to change default text for specific post type
- How to translate Widget Description in constructor?
- Loading plugin text domain before registering post type
- Theme Checker Text Domain
- How to keep a variable in COOKIE or GET query string?
- Rename existing cpt and taxonomy with new textdomain
- Translations only load from `wp-content/languages/plugins` but not from the plugin’s languages folder
- Filter in Custom post type to find the parent post
- Translation ready code format for taxonomy
- Theme check warning about text domain
- Translation not working for Constant strings in Plugin
- WordPress theme directory naming
- Adding translation files to a child theme
- Load textdomain from global languages directory
- Custom post type translation
- Warning: The actual loaded translation content contains mixed textdomains and is not pure translateable within one textdomain
- Notice: Use of undefined constant Redux_TEXT_DOMAIN – assumed ‘Redux_TEXT_DOMAIN’
- Localization PHP: How can I scan the theme to detect the addition of a new string to be internationalized?
- How to use native wordpress translation domain inside a custom plugin?