Hello,
For the last couple of days I am experiencing issues with translations of some elements of Woocommerce plugin. Normally I am using Polish translation but now some elements appear in English… I uploaded the most painful ones:
https://ibb.co/HB2fRSs
https://ibb.co/MZwZv1j
I have already read the pinned post about the latest WP update, however 6.7.1 doesn’t seem to fix translation in my case.
I would highly appreciate your help!
Kind regards,
Sylvia
Since version 2.6.11 of Loco Translate the following ones do not work on my website, that is, 2.6.12, 2.6.13 and 2.6.14 do not work, they do not translate my site and I have to go back to version 2.6.11 which does work, what could be happening?
]]>I tried to change with new translation tag but it is not working.
You can check above mention url in which I need to change the search bar filter text and some other text which is not translated by default.
hello,
I have woocommerce configured with chilean spanish. When I go to the translation files in https://translate.www.ads-software.com/locale/es-cl/default/wp-plugins/woocommerce/ it shows that it has approximately 12 thousand strings and already translated.
Now, my local files when I sync show me only 9 thousand. I already deleted them and downloaded the translations again and there is no change.
https://ibb.co/NWrJCbK
I saw that part of the problem was that I had a setting in “Extracting strings
Skip PHP files larger than” too small. Now I create in total but it does not copy the texts that are already translated.
It now looks like this
any idea what it could be?
Regards,
]]>Hi,
I am encountering an issue where translations for my plugin Custom Order Numbers for WooCommerce are not working as expected with Loco Translate when using the “Author” or “Custom” translation location options.
Here’s a brief overview of my setup:
Plugin Text Domain: custom-order-numbers-for-woocommerce
WordPress 6.7
Translation Loading Code as below: Basically this is the patch I have done after the WordPress 6.7 to correct the translation issue where the notice is being displayed for translation loading too early.
add_action( 'plugins_loaded', array( &$this, 'con_load_textdomain' ) );
public function con_load_textdomain() {
$domain = 'custom-order-numbers-for-woocommerce';
$locale = apply_filters( 'plugin_locale', get_locale(), $domain );
$loaded = load_textdomain( $domain, trailingslashit( WP_LANG_DIR ) . $domain . '-' . $locale . '.mo' );
if ( $loaded ) {
return $loaded;
} else {
load_plugin_textdomain( $domain, false, __DIR__ . '/langs/' );
}
}
Translation Files: .po and .mo files are present in /langs/ and are correctly named.
Issue: When using Loco Translate:
Troubleshooting Steps Taken:
.mo
and .po
files are generated correctly.get_locale()
, and it matches the file names.Also, checked with the init
and after_setup_theme
but it didn’t help.
Could this be an issue with how the load_textdomain
and load_plugin_textdomain
functions are used in my code? Or does Loco Translate require additional adjustments for plugins that load translations manually?
You can take this patch copy to check the issue.
Any guidance or insights would be greatly appreciated!
Thank you for your time.
Regards,
Kartik Parmar
Hello,
Since the WordPress upgrade to 6.7 on Nov 14th I am experimenting the translation issue with my site in French hosted by OVH. As recommended have updated Loco Translate to 2.6.12 after noticing the problem but the issue is still there. Today I upgraded to 2.6.14 when I saw it available and again same thing. As a temporary bypass I switched the general setting to English. Let me know what would be additional useful informations to share to help fixing this.
my site —> https://lafermepourtous.org
Thanks.
]]>Separately to a recent flurry of fixes to this plugin, there’s still a major issue in WordPress 6.7 affecting a lot of websites, and it’s not something my plugin can fix.
If you’re using Loco Translate for custom translation files and suddenly (after upgrading WordPress) those translations have reverted to English, then you’re almost certainly affected by this problem.
You can confirm you’re affected by enabling WP_DEBUG
and checking for this early loading notice in your log files. If you see a relevant text domain in one of these messages, then it almost definitely explains why your translations have stopped showing.
There will hopefully be a fix in WordPress 6.7.1 for this, but actually the root cause will still be there. Premature translation usage may have been the cause of smaller localisation issues you’ve noticed for some time.
It’s worth noting that the actual text domain provider may not be at fault. To use a popular example: if a WooCommerce add-on tries to access translations in the woocommerce
text domain too early, it will break all future uses of that text domain and by no fault of the WooCommerce plugin itself.
Just to reiterate, I’m referring here to custom translation files – meaning those not installed in the standard WordPress languages directory. If you have problems with installed translations, this notice is probably not relevant.
What should I do to get my site working?
Personally, I’d to revert to WordPress 6.6 (if that’s an option for you) and keep an eye out for a fix in 6.7.1.
You don’t need to roll back Loco Translate. In fact, upgrading to 2.6.14 is still recommended as it contains a fix for the long standing problem of loading custom translations without corresponding system translations installed.
Will Loco Translate be fixed?
I can’t fix anything in my plugin to get around this. In the first instance, the very nature of the early loading problem is that Loco Translate is not yet running. Secondarily, if the text domain is eventually loaded correctly, nothing actually happens. No WordPress hooks get fired, so my plugin can’t reload the text domain.
It would be possible for my plugin to forcefully unload all text domains when it starts up, (or at least any NOOP translations), but I’m not inclined to do this. I won’t go into the various reasons I think that’s a bad idea, but you can write your own code to do this if you want.
]]>Hi guys, I am really struggling to finish translating my website and I would really appreciate if you could help me sole this: https://www.loom.com/share/ea192798bbfb4843aaea9a2f6240bad3
I’m using Loco Translate because the guys at Translate Press told me to use it but for some reason I’m following the steps I’ve read but can’t find a way to solve my issue.
Your help would be really appreciated. Thanks a lot!
Mallory
]]>Hi.
For some reason, my latest translations into a specific language, over wrote the original source language.
Any ideas how to fix this?
]]>Bonjour,
J’utilise la version gratuite de votre plugin. Votre plugin plante avec le plugin joomsport. J’ai les erreurs suivantes dans le fichier log :
Sun Nov 17 17:09:07.820541 2024] [proxy_fcgi:error] [pid 3214005:tid 3214023] [client 92.138.103.59:53607] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’, referer: https://www.groupeblelorrainefc.fr/wp-admin/update-core.php?action=do-plugin-upgrade
[Sun Nov 17 17:09:12.703100 2024] [proxy_fcgi:error] [pid 3214004:tid 3214034] [client 54.36.148.202:57037] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:10:19.035572 2024] [proxy_fcgi:error] [pid 3214005:tid 3214051] [client 47.128.34.185:49146] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:11:21.437844 2024] [proxy_fcgi:error] [pid 3234941:tid 3234954] [client 66.249.66.75:63153] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:11:21.442215 2024] [proxy_fcgi:error] [pid 3234941:tid 3234964] [client 66.249.66.75:52254] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:11:46.455730 2024] [proxy_fcgi:error] [pid 3214004:tid 3214038] [client 119.28.12.38:52179] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:11:50.142225 2024] [proxy_fcgi:error] [pid 3214004:tid 3214020] [client 66.249.66.75:56410] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:13:21.160325 2024] [proxy_fcgi:error] [pid 3214005:tid 3214030] [client 66.249.66.76:38232] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:13:21.257599 2024] [proxy_fcgi:error] [pid 3214005:tid 3214051] [client 66.249.66.76:62118] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/www/g…’
[Sun Nov 17 17:15:08.146401 2024] [proxy_fcgi:error] [pid 3214005:tid 3214028] [client 92.138.103.59:53779] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/w…’, referer: https://www.groupeblelorrainefc.fr/wp-admin/plugins.php
[Sun Nov 17 17:15:38.261167 2024] [proxy_fcgi:error] [pid 3214005:tid 3214019] [client 92.138.103.59:53784] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages/’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/fs/Locations.php(160): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/hooks/LoadHelper.php(167): Loco_fs_Locations->check()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate1/src/hooks/LoadHelper.php(101): Loco_hooks_LoadHelper->resolveType()\n#3 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(324): Loco_hooks_LoadHelper->on_load_textdomain()\n#4 /home/www/groupeblelorrainefc/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#5 /home/www/groupeblelorrainefc/wp-includes/plugin.php(517): WP_Hook->do_action()\n#6 /home/www/groupeblelorrainefc/wp-includes/l10n.php(784): do_action()\n#7 /home/w…’, referer: https://www.groupeblelorrainefc.fr/wp-admin/index.php?page=wp-rollback&wpr_rollback_nonce=840bba2b4a&_wpnonce=840bba2b4a&plugin_file=loco-translate1%2Floco.php&plugin_version=2.6.12&plugin_slug=loco-translate&rollback_name=Loco+Translate&installed_version=2.6.13
[Sun Nov 17 17:23:05.247249 2024] [proxy_fcgi:error] [pid 3214005:tid 3214048] [client 92.138.103.59:53915] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught InvalidArgumentException: Failed on abs(‘joomsport-sports-league-results-management/includes/../languages’) in /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php:236\nStack trace:\n#0 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/fs/Locations.php(197): Loco_fs_Locations->expand()\n#1 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/package/Listener.php(260): Loco_fs_Locations->split()\n#2 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/package/Listener.php(300): Loco_package_Listener->resolve()\n#3 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/package/Listener.php(110): Loco_package_Listener->flush()\n#4 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/package/Plugin.php(246): Loco_package_Listener->getDomain()\n#5 /home/www/groupeblelorrainefc/wp-content/plugins/loco-translate/src/package/Bundle.php(108): Loco_package_Plugin::crea…’, referer: https://www.groupeblelorrainefc.fr/wp-admin/admin.php?page=loco-plugin
[Sun Nov 17 18:16:09.4907
Pouvez-vous m’aider ? Merci.
Cordialement
]]>Hi there,
First of all, thanks for a great plugin. We only use it for a couple of translations in Learndash (changing a few buttons), but it does the job very well!
Installing 2.6.12 wiped out our translations, so we entered them again.
Unfortunately, installing 2.6.3 caused a critical error on the website after installation, including on the admin side. We had to FTP into the website, rename the plugin folder, re-install V2.6.12 and all went back to normal.
Please fix ASAP!
]]>Hello, I am using the theme from Adifier, here is the latest version. Since the update to WP 6.7, Loco is no longer working. Even the latest updates do not bring any improvement! My website should be in German, but all texts are back in English. Website: https://www.laendleverein.at can provide you with a user account, so you can check the website yourself.
]]>This plugin is a major issue. Since the update it’s been nothing with problems. Not baing able to access the translation files or anything due to location error. When trying to update to the newest update that was released 4 hours ago: 2.6.13 this completely breaks the site.
I’ve never had any issues but this is a new headache and I’m sick of it!..
Please fix this major issue! – I’m now starting to rethink why I liked using this in the first place.
Hello,
I try to update to version 2.6.13 but not fix translate issue.
Plugin WC Vendors Marketplace (https://www.ads-software.com/plugins/wc-vendors/)
Please help to check
Best regards
]]>Even after updating Loco Translate to the latest version, the translation problem still remains.
Downgrade WordPress to 6.62 to resolve the issue.
WordPress 6.7 is not available.
]]>After the update, all transfers disappear. Unfortunately, after upgrading to version 2.6.12, all plugin translations disappeared. If you create a new language and make translations, then nothing changes. My version of WordPress is 6.7. Moreover, on a similar site, where the version of WordPress is also 6.7, the plugin version 2.6.11 works fine and translates. As a result, I had to restore everything from a backup on those sites that I updated. And WordPress 6.7 + Loco 2.6.11 really works
]]>Hello,
I have also updated to WordPress 6.7. Since then it no longer loads the existing language file. But only when booking a trip.
Here is an example:
https://wordpress.hochzeitsfotograf-allgaeu.de/reisen/ein-roadtrip-durch-den-gruenen-norden-portugals-von-porto-ueber-braga-und-guimaraes-in-den-nationalpark-peneda-geres/
There click on the “Check availability” button and then the whole thing is partly in EN. But it should be DE. I have translated all plugins that are relevant 100%. It was already working before the update. Can you help me?
]]>Hi,
After an auto-upgrade to 2.6.12, many things stops working on the website such as :
dynamic calendar in front et in back : error on publishing pages : Response is not a valid JSON response (a 0 seems ton be added after json), image insertion in ajax, plugin search, etc.
Reverting to 2.6.11 solves all the problems…
WordPress version is 6.6.2 not 6.7, PHP 7.4
Example with 2.6.12
https://app.screencast.com/R5YICZMMV2emG
Same page with 2.6.11
https://app.screencast.com/urzsOSqRQDl9z
this is a follow up of my post here: https://www.ads-software.com/support/topic/broken-translations-after-updating-to-wordpress-6-7/
Translations of my child theme are shown only if I have a copy in Loco custom folder.
I’m using a custom child theme for Hello Elementor theme.
I load translations with load_child_theme_textdomain
function:
add_action( 'after_setup_theme', 'xxx_theme_setup' );
function xxx_theme_setup() {
load_child_theme_textdomain( 'xxx_xxx', get_stylesheet_directory() . '/languages' );
}
Before WP 6.7 I just had .mo and .po files in my child theme /language
folder without issues
Hello, your plugin works very well, first of all thank you for your efforts.
I have two suggestions.
1st suggestion;
Can you add a word search feature in all language files?
For example; sometimes it is necessary to go through all language files one by one to find out which language file contains just 1 word. However, it would be a shorter way if there was a general search section that scans all language files.
2nd suggestion;
Yandex auto-translate translates %1$s by deleting the “s” at the end. A bug fix may be needed here.
Thank you, have a good day.
I use the Pixefy theme and recently have noticed the error below in my debug log after my hosting provider Hostinger showed this to me. I have upgraded to the latest version at the time of writing this, v2.6.12 but notice this still persists. I am on PHP 8.2 and WordPress 6.7
[16-Nov-2024 06:06:13 UTC] PHP Notice: Function _load_textdomain_just_in_time was called <strong>incorrectly</strong>. Translation loading for the <code>pixefy</code> domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the <code>init</code> action or later. Please see <a href=”https://developer.www.ads-software.com/advanced-administration/debug/debug-wordpress/”>Debugging in WordPress</a> for more information. (This message was added in version 6.7.0.) in /home/u105263180/domains/imagii.com/public_html/wp-includes/functions.php on line 6114
]]>Hello, so Loco Translate has been working for about a year on my site. Yesterday the server had a problem and took the host an entire day to get everything working. But now it seems like my translations are not working at all no matter what I do. I’ve tried purging the cache, reinstalling the plugin, doing everything from scratch but it is not translating. I am using the same theme as always. I’ve contacted my host, they restored a previous version of the site but the problem is still there. Even on an older version the site is still not translated which is very weird.
]]>Version 2.6.12 of Loco Translate fixes a long standing limitation which suddenly became a critical issue with the release of WordPress 6.7.
Short version:
If your custom translation files stopped loading after upgrading to WordPress 6.7, upgrade Loco Translate now. If your issue persists, it may be due to other components affected by the same changes in WordPress.
—
Long version:
Previously, if you had translations in Loco Translate’s “Custom” directory, but NOT ALSO installed in the “System” location, Just-in-time text domain loading would NOT LOAD your custom translations. This became critical, because since WordPress 6.7 all translations are JIT loaded. This means plugins using load_plugin_textdomain and themes using load_theme_textdomain can no longer shortcut JIT loading.
This is now fixed in Loco Translate, but translations not showing up is a perennial issue with many possible causes. If you want me to investigate a problem you suspect lies with my plugin, please start a new topic and provide full details of how to reproduce the issue. That means I need to install the affected plugin or theme, replicate your translation file locations, and test an example source string of your choosing.
Moderators, kindly close this topic. It’s for information only.
]]>Hello
On my website I use LOCO translate plugin with helps me to translate content to polish language. Everything works great until last wordpress update to version 6.7.
After update my translation files were overwritten. Even when I re-added the translations, the content still appear untranslated.
Please help
]]>Hello, after updating to WP6.7, why did the fields that were previously translated using Loco Translate change back to the original English? How can this be avoided?
I also updated the latest version of Salient today, and I wonder if this is the problem. Thank you
Hi I have a problem, everything ok until yesterday now all the translations I had are gone, what do you think is the problem, what can I do now?
]]>I am using Loco Translate to translate LearnDash, but some strings aren’t being translated despite having translated them in the backend.
Any ideas why?
]]>After last theme version updated, part or wordpress plugins and settings are not translated any more. Please help.
]]>Here is a quick solution to the problem with the location of language files with translation in WordPress 6.7 – which I myself have successfully used:
A ready-made bash script that automatically moves the language files on the whole server from the plugin folder, to the system folders.
As a result, you don’t need to do anything else on the sites themselves (even if there are a lot of them)? ??
Place in the root of the server (or user directory) and run.
All processes are logged.
P.S. Or just move your files manually: from ‘/wp-content/languages/loco/plugins/’ to ‘/wp-content/languages/plugins/’, and from ‘/wp-content/languages/loco/themes/’ to ‘/wp-content/languages/themes/’
#!/bin/bash
# Set the log file to the current directory
LOG="$(pwd)/logfile.log"
# Function for logging
log_message() {
echo "$(date +'%Y-%m-%d %H:%M:%S') - $1" >> "$LOG"
}
# Recursive directory traversal
find . -type d -path "*/wp-content/languages/loco/plugins" | while read -r dir; do
# Move files from /wp-content/languages/loco/plugins/ to /wp-content/languages/plugins/
target_dir="$(echo "$dir" | sed 's|wp-content/languages/loco/plugins|wp-content/languages/plugins|')"
mkdir -p "$target_dir"
mv "$dir"/* "$target_dir"
log_message "Moved files from $dir to $target_dir"
done
find . -type d -path "*/wp-content/languages/loco/themes" | while read -r dir; do
# Move files from /wp-content/languages/loco/themes/ to /wp-content/languages/themes/
target_dir="$(echo "$dir" | sed 's|wp-content/languages/loco/themes|wp-content/languages/themes|')"
mkdir -p "$target_dir"
mv "$dir"/* "$target_dir"
log_message "Moved files from $dir to $target_dir"
done
echo "Script completed."
]]>
hello
as many users with last wp update, had issue with translation
So i test loco 2.6.12-dev, I relocate the translations file and wp_debug
to true, and it works again, I didn’t all plugins I had, but for some tested , it was ok.
Juste one question, it work only with wp_debug
set to true that’s right ? because when remove wp_debug
, issue came back
Regards
]]>