Looks like this has been introduced in WordPress 6.7 - I have the following code:
$loaded = load_theme_textdomain(MY_TEXTDOMAIN,get_stylesheet_directory() . '/languages'); // internationalization
$locale = get_locale();
The locale is correct and available, load_them_textdomain() returns true but the language in the theme is English instead of German in this case.
Using de_DE_formal for the project. Did anyone experience a similar issue? How can it fail though the language is correctly loaded and set? Help would be really appreciated.
get_locale
?