Giter Site home page Giter Site logo

Aliases for currencies about libqalculate HOT 5 CLOSED

qalculate avatar qalculate commented on August 20, 2024
Aliases for currencies

from libqalculate.

Comments (5)

hanna-kn avatar hanna-kn commented on August 20, 2024 1

I have now added Kč as symbol.
I need to do some more thinking before making any additional changes.

The full name is a bit to long and needs an underscore and "koruna" might also refer to SKK.

I have previously decided against lower case currency codes to avoid confusion with the many other units, unit combinations and prefixes.

from libqalculate.

mnn avatar mnn commented on August 20, 2024

Yeah, you are right, there is so many currencies and lower case versions of them would cause a lot of unintended usages. I am not sure, it might be already possible, I am only a bit familiar with this project's GUI - but solution might be to let user define few aliases he uses - e.g. "kc" as an alias to CZK.

from libqalculate.

hanna-kn avatar hanna-kn commented on August 20, 2024

It is possible for the user to change almost any unit in any way (including adding "aliases") using the GUI.

Additional names and symbols for local currencies should ideally be added to (some) translations. The Swedish translation adds "kr", "krona" and "kronor" as aliases/alternative names for SEK.

from libqalculate.

mnn avatar mnn commented on August 20, 2024

Oh, didn't know it is possible. Found it, thank you for help :).

Since user can add an alias and it's also possible to do it via translations, I think I can close this as resolved, because in my opinion adding lower case codes would severely cripple applications usability.

from libqalculate.

mnn avatar mnn commented on August 20, 2024

It didn't occur to me until recently - in Slovakia is no longer used koruna as a currency, they switched to euro quite some time ago.

Slovakia switched its currency from the koruna to the euro on 1 January 2009, at a rate of 30.1260 korunas to the euro.

https://en.wikipedia.org/wiki/Slovak_koruna

from libqalculate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.