TheAlgorithms/website

[FEATURE] Add the Bengali language

Panquesito7 opened this issue · 2 comments

Description of the feature request

The Bengali language is already added to Weblate. We just need to adopt it in our code to make it work properly.

Steps to contribute:

If you've already forked the repository, skip to step 3

  1. Fork the repository here.
  2. Make a new branch named add_bengali.
  3. Open the lib/locales.js file.
  4. After the Portuguese (pt_BR) language, add the following code:
  {
    name: "বাংলা",
    code: "bn",
    icon: "bangladesh",
  },
  1. You will need to add a flag icon under public/flags. For this, we will use the Bangladesh flag. You can take it from here: https://upload.wikimedia.org/wikipedia/commons/f/f9/Flag_of_Bangladesh.svg

  2. Open a pull request.

  3. That's it! You need to wait until a maintainer reviews your PR. 🎉

If you need any help you need, let us know below or on our Discord server!

Add screenshots of the feature request (if applicable)

No response

Additional information/context

This is a good first issue. Please leave it open to first-time contributors and beginners.

I will do it assign me

I'm done and I'm waiting for the reviewer to accept my pr.