Has your custom file been replaced with the one from https://translate.ww.wp.xz.cn/projects/wp-plugins/woocommerce?
If you want to customise a few strings only, use https://ww.wp.xz.cn/plugins/say-what/
Thread Starter
NumZie
(@numzie)
I don’t know. How do I check this?
In the language file, “Shipping” is translated “Fragt” – but it still shows “Forsendelse”.
The language files are located in /wp-content/languages/woocommerce – this is correct, isn’t it?
I actually also installed Say What, but replacing both “Shipping” and “Shipipng %d” in text domain “woocommerce” with “Fragt” didn’t help at all. It still says “Forsendelse”.
All other strings are fine and are the ones I previously translated/altered.
Note: How do I backup the changes, I made to the Danish translations (to match my own personale language), so I don’t have to make the changes after updating Woo next time?
WordPress downloads and replaces 100% translations into /wp-content/languages/woocommerce automatically.
If you want a correct translation, best option is to contribute to the version on https://translate.ww.wp.xz.cn/projects/wp-plugins/woocommerce?
Thread Starter
NumZie
(@numzie)
So each time Woo is updated, all my own translations in the Danish file is overwritten?
I can contribute, but different webshops have different ways of expressing things, so this would just mess things up with other webshops.
I want to preserve my own translations – is that not possible?
And did you have any clue why Loco shows the correct translations but the site shows the wrong one (which is not anywhere in the file)?
I don’t know why that would happen. You can use your own translations, using that plugin I suggested, or loading another MO file using https://codex.ww.wp.xz.cn/Function_Reference/load_textdomain and placing it elsewhere.