From 1430dcb11df500c8e9955bc82c8d41710ffe0b59 Mon Sep 17 00:00:00 2001 From: Jesper V Nielsen <31649178+jespervnielsen@users.noreply.github.com> Date: Fri, 18 Jan 2019 11:22:07 +0100 Subject: [PATCH] Added DK (Danish ) To locale-info Added danish locale-info settings. example: DKK 12.345,67 The tax rate is called "Moms" Som will argue, that the currency code could be "kr", but thats not default in WooCommerce, and the organizations who has to accept cart payment on the shops, states that if a danish shop, sells to foregin countries, the currency must be DKK --- i18n/locale-info.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/i18n/locale-info.php b/i18n/locale-info.php index 3dd3a654640..d0e110c4a19 100644 --- a/i18n/locale-info.php +++ b/i18n/locale-info.php @@ -243,6 +243,26 @@ return array( ), ), ), + 'DK' => array( + 'currency_code' => 'DKK', + 'currency_pos' => 'left_space', + 'thousand_sep' => '.', + 'decimal_sep' => ',', + 'num_decimals' => 2, + 'weight_unit' => 'kg', + 'dimension_unit' => 'cm', + 'tax_rates' => array( + '' => array( + array( + 'country' => '*', + 'state' => '', + 'rate' => '25.0000', + 'name' => 'Moms', + 'shipping' => true, + ), + ), + ), + ), 'ES' => array( 'currency_code' => 'EUR', 'currency_pos' => 'right',