Would have loved to know that beforehand. Here is the solution to my problem, so others that are stuck might not be stuck on this for hours.
WPML has a String Translation plugin. If it is activated, it seems that it passes before the load_textdomain in priority. And so, load_textdomain works in loading the file (giving the true) but String Translation throws all of it in the trash when it loads itself.
Related Posts:
- What is the correct naming procedure of text domain, directory and theme name?
- load_plugin_text_domain() never works
- Translation of this theme not showing up in the real host. why?
- Using Number in Text domain
- 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’