Viewing 6 replies - 1 through 6 (of 6 total)
  • Reüel

    (@pronamic_reuel)

    Editng the translation files can be done with an editor such as Poedit (https://poedit.net/download).

    After replacing the .po and .mo files in the woocommerce-nl plugin directory, the new translation will be used.

    Please note that these changes will be undone when the WooCommerce (nl) plugin receives an update. Therefore, it is advisable to place custom translations (woocommerce-nl_NL.po/.mo) in the /wp-content/languages/plugins/ folder.

    Reüel

    Hi Reüel,
    can’t get it working. When I place my .mo/.po files in /wp-content/languages/plugins/ folder, it doesn’t ‘overwrite’ the translations from woocommerce-nl in /wp-content/plugins/woocommerce-nl/languages/woocommerce/.
    So I have:
    /wp-content/languages/plugins/woocommerce-nl_NL.mo
    /wp-content/languages/plugins/woocommerce-nl_NL.po
    /wp-content/plugins/woocommerce-nl/languages/woocommerce/nl_NL.mo
    /wp-content/plugins/woocommerce-nl/languages/woocommerce/nl_NL.po

    /wp-content/languages/plugins/woocommerce-nl_NL.mo should overwrite translations done in /wp-content/plugins/woocommerce-nl/languages/woocommerce/nl_NL.mo right?

    Hi Reüel,

    I am having the exact same problem as Alleknalle..

    What do you advise?

    Thanx!
    ps: there is very little useful documentation out there on this specific topic, so your help would be very much appreciated..

    To overwrite woocommerce translation and make your localization upgrade safe, place your woocommerce-nl_NL.mo into
    wp-content/languages/woocommerce/

    See: https://stackoverflow.com/questions/30899472/how-to-overwrite-woocommerce-translations/32548898

    Reüel

    (@pronamic_reuel)

    Maybe needless to say, but the solution @coder4web mentioned, only works without the WooCommerce (nl) plugin. If this plugin is activated, you can’t edit language files in a safe way.

    Of course you could edit the language files of the WooCommerce (nl) plugin with a program like Poedit, but plugin updates will overwrite any changes that were made in the /wp-content/plugins/woocomerce-nl/ folder, so it’s not safe to make your changes this way.

    Hi, the plugin you mention is unmaintained. Translations are now maintained at GlotPress.

    If you want to change anything that is usefull for more users, please add strings to GlotPress.

    If you want to take a look at how to add your own po-file that gets loaded before the standard one, you can take a look at how the WooCommerce-nl-alternative plugin does it. It uses a hook.
    That plugin is unmaintained now as well, because there are now both a formal and informal version of WordPress and WooCommerce.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't edit translation of Woocommerce NL’ is closed to new replies.