-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"default" textdomain #19
Comments
Welcome to GitHub. Is this a vanilla WordPress installation? |
Hi, thanks for your fast response :) Yes, I tried rename plugins folder, rename theme folder, only pomodoro in mu-plugin folder, cleared cache pomodoro folder. PHP 7.4, Apache 2.4 EDIT: |
Ok, I think, where is problem. |
anybody here ? |
Sure. What's up? |
I had the same problem |
Hi, I have problem with "default" textdomain.
I have admin-cs_CZ.mo and cs_CZ.mo
In query monitor I see
in cache folder I see two different files. Strings are correct for cs_CZ.mo and admin-cs_CZ.mo.
3233096092677fa06cba818611b302ca.mocache
<?php $_mtime = 1613318405; $_domain = 'default'; $_cache = array ( 'e943aadea30efe107c0f71e4b6ab5af0' => 'Neděle', etc..
dcc81cd674d4c7e1538f4d02514faa6f.mocache
<?php $_mtime = 1613318406; $_domain = 'default'; $_cache = array ( 'e943aadea30efe107c0f71e4b6ab5af0' => 'Neděle', etc..
But WordPress will not load admin-cs_CZ. I have English text in admin. So I just add little condition, which is not ideal.
add_filter( 'override_load_textdomain', function( $plugin_override, $domain, $mofile ) { if ( $domain === 'default' ) return false;
Any advice? Thank you.
The text was updated successfully, but these errors were encountered: