Skip Navigation

Waiting for author

Topic Tags: Compatibility

Overview of the issue

After updating WordPress to version 6.7.1, strings from the Germanized for WooCommerce Pro plugin are not being translated into German as expected.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Open the …/wp-content/plugins/woocommerce-germanized-pro/includes/class-wc-gzdp-wpml-helper.php file.
  • Look for line 112.
  • Replace:
    	public function reload_locale() {
    		unload_textdomain( 'woocommerce-germanized-pro' );
    
    		WC_germanized_pro()->load_plugin_textdomain();
    	}
    
  • With:
    	public function reload_locale() {
    		unload_textdomain( 'woocommerce-germanized-pro', true );
    
    		WC_germanized_pro()->load_plugin_textdomain();
    	}
    

5 Responses to “Germanized for WooCommerce Pro - Strings Are Not Translated After Updating WordPress to 6.7.1”

  1. Good day,

    I’m afraid it already says

    public function reload_locale() {
    unload_textdomain( 'woocommerce-germanized-pro', true );
    WC_germanized_pro()->load_plugin_textdomain();
    }

    in the file you mentioned. The issue persists.

  2. To be more precise:

    The mentioned fix works, BUT ONLY if there is no translation file at /wp-content/languages/wpml/

    As soon as you edit at least one string for Germanized Pro, so that a .mo file is created at /wp-content/languages/wpml/, the fix falls apart and everything is English again for Germanized Pro.

    • Hello Martin,

      Could you please open a ticket in our support forum? In that way, we will be able to investigate your case and help you to find a solution. Please mention this erratum to the supporter handling your ticket

  3. we have exactly the same issue! Germanized support told us that some Germanized Pro Strings are registered wrong in the Database. There is no fix available and this has to be fixed manually in den DB – but how??

    • Hi Paul,

      Thanks for reporting this issue in your support ticket. As Marcel mentioned, we don’t recommend manually changing the strings stored in the database.

      We’ve already escalated your feedback to our second-tier support team and will keep you updated directly in your ticket.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>