/oss · 2 merged

bojanz/currency

A Go library for handling money amounts and formatting them for each country and language.

the project on GitHub (opens in a new tab)
  1. 15 Nov 2026

    US dollars no longer look like pesos in Mexican Spanish

    What was broken
    In Mexican Spanish and a few other locales, US dollars and the local currency both showed as $, so a dollar price read as pesos.
    What I changed
    Any locale whose own currency also uses $ now shows US dollars as US$.
    Why it matters
    Shoppers can tell which currency a price is in.

    see the code, #56 (opens in a new tab)

  2. 14 Nov 2026

    Norwegian prices format as Norwegian again

    What was broken
    After a locale data update, amounts for Norwegian Bokmål came out in English style, like NOK 1,234.56 instead of 1 234,56 kr.
    What I changed
    The library again knows that Bokmål uses the general Norwegian formatting rules, as it did in the previous release.
    Why it matters
    Shops and apps showing prices to Norwegian users get the right format back.

    see the code, #54 (opens in a new tab)

← every project