Symbol placement for NOK should be "after" in includes/commerce.currency.inc.
Not "before" like it's now:

'NOK' => array(
  ...
  'symbol_placement' => 'before',
  ...
), 

Comments

q11q11 created an issue. See original summary.

bojanz’s picture

Title: Symbol placement for NOK should be "after" » Update symbol for NOK

CLDR rules for the "no" locale indicate that the currency symbol goes before the amount, with a space in between.

However, CLDR also says that the symbol is "kr", but Commerce shows "NOK".

So, we should update the symbol to "kr", and users can use hook_commerce_currency_info() to modify the defaults to their preference.

(In 1.x the rules always match the currency's home locale, and are updated by the community. In 2.x the rules are per-locale and updated automatically).

Maintainer note: the 1.x currency list was last rebuilt in 2017: https://www.drupal.org/node/2889930

rszrama’s picture

Category: Bug report » Task

And confirming from an existing Norwegian store that "before" placement is used in the wild: https://www.next.no/en/g7929s1/725309#725309

rszrama’s picture

Status: Active » Fixed

Committed the quick fix to just adjust the symbol to 'kr'.

  • rszrama committed 4dfc02d on 7.x-1.x authored by bojanz
    Issue #3226890 by bojanz, rszrama: Update the symbol for NOK to 'kr'
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.