Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Decker

    (@daveshine)

    @viktoras:
    Hi there,
    thanks for your feedback!

    Is your WordPress install set to the proper German locale in wp-config.php?
    You need at least that line there: define( 'WPLANG', 'de_DE' ); — otherwise my plugin cannot work.

    Thanks, Dave ??

    Thread Starter Viktor

    (@grnetfreak)

    Hello Dave,

    The site is working perfectly fine in German, the issue is that I’d like to use the feature you have to only load the German language in the front-end.

    That’s the part that isn’t working. ( Neither of the options there )

    Plugin Author David Decker

    (@daveshine)

    These options work fine ?? These options were tested a few hundred times at least, in very different installs, and always worked ??

    However, since WooCommerce comes with default translations already, packaged in the plugin – though they are incomplete and not so good – you have to delete these lang files manually from /plugins/woocommerce/i18n/languages/woocommerce-de_DE.mo and /plugins/woocommerce/i18n/languages/woocommerce-admin-de_DE.mo Only then my options will take full effect. If these other files are still there, then those strings WILL be loaded, if wp-config.php is set to German locale.

    Also, the options in my plugin are only for WooCommerce translations, NOT for the whole install!
    If you want to your install in the admin in English you have to use additional plugins like this one: https://www.ads-software.com/plugins/wp-native-dashboard/
    This whole thing has nothing to do with my plugin or even WooCommerce it is because how WordPress loads translations…
    The setting in my plugin for loading locations is for very special use cases, in Multisite or such. In most cases users let load translations in frontend + Admin.

    Thanks, Dave ??

    Thread Starter Viktor

    (@grnetfreak)

    That was a blazing fast reply!

    Yeah, I was looking only for the woocommerce interface ??

    I’ve thought about deleting the language files, didn’t know about that plugin though, thanks!

    I realize what you mean with this being mostly on how WordPress handles localization, thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Transation loading location not working?’ is closed to new replies.