Coder Social home page Coder Social logo

prasanta-hembram / multiscript-ui-calculator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from code-recursion/ui-calculator

2.0 0.0 2.0 156 KB

Multiscript Calculator, a calculator with numbers in different writing systems.

Home Page: https://prasanta-hembram.github.io/Multiscript-UI-Calculator/

License: MIT License

HTML 65.06% CSS 8.23% JavaScript 26.70%
bengali calculator multiscript santali odia multiscript-calculator hacktoberfest hacktoberfest-2022 opt-in-to-hacktoberfest hacktoberfest-accepted

multiscript-ui-calculator's Introduction

Multiscript Web UI-Calculator

Simple Multiscript Web Calculator forked from Simple Calculator With Clean UI.

Calculator in Multiscript

  • It will increase use of numbers in native language script (language having their own script).
  • An open source calculator that supports multiscipt is uncommon.
  • Try this unique calculator in your own your mother language.
  • Show your ๐Ÿ’“ towards your mother tongue by contributing something, add features and making it more popular.

Contributing

In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Work on your fork
    1. Make your changes and additions
      • If you are adding a new language (but try to find languages having unique ISO 15924, find script codes here in Wikipedia) to the project then create a folder inside locales with a valid ISO 639-2 Code.
      • Then inside the newly created folder three files must be there, locale.html (replace locale with three letter language code), main.css, and script.js
      • You can copy all these three files from the eng Template folder and place them inside yours.
      • locale.html - Translate these words in your language: Calculator, Home and numbers.
      • main.css - This should be uniform for all languages, otherwise it will look odd. But if you can make css more better then please go ahead create a separate issue for this.
      • script.js - From the line 3 to 14 replace all the numbers with your own language script. In the line 65 there is function called localize, which you can completly ignore or delete if you have translated your number in locale.html file
      • After making all the changes move out of the locals folder and edit index.html file and find div element with id="list-items", and add your language with path. Also, don't forget to add your language to unordered list below.
      • If you are making changes to codes may it be minor or major please don't forget to add inline comments.
    2. Change or add tests if needed using VS Code live server.
    3. Add changes to README.md if needed.
  4. Commit changes to your own branch.
  5. Repeat step 3(3) above.
  6. Push your work back up to your fork.
  7. Submit a Pull request so that we can review your changes.

Contributors

License

Distributed under the MIT License. See LICENSE.

multiscript-ui-calculator's People

Stargazers

 avatar  avatar

multiscript-ui-calculator's Issues

Create more strings for translation

Till now only three strings and some numbers are there to translate, if we are able to add some more strings to translate then we may get more engagement from the other language communities.

Assamese language not showing in the Calculator

Issue:

  • Why Assamese language is not showing in the calculator and what needs to be solved??

Hint: Solve all the below issues:-

  • I have found Assamese language locale folder.
  • Made changes to js and html files of that locale folder

Still in doubt, comment where you are stuck..

Embedding one css file for multiple html files

  • Every locale folder (eg. hi, sat, or etc.) have the same css file in their respective folders.
  • The task is to host the css in one place for multiple html files.
  • Can you do it, ask questions if still clear.

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.