Giter Club home page Giter Club logo

bcp47-picker's Introduction

BCP47 Language picker

A language picker which uses the BCP47. It uses the following standards: iso-3166, iso-639, iso-15924 and the un-m49. With this language picker you are sure you are using the right language codes for each specific language. It is even possible to add your own private use language codes such as the ROLV.

The widget uses Bootstrap for styles. If you do not likes this you have the ability to override the CSS classes and provide styles yourself.

You must make sure the CSS of Bootstrap is loaded by yourself.

Demo

Demo

Install

npm install bcp47-picker

Details

Datasets (it is possible to use totally different ones):

Core datasets and specs:

Screenshots



bcp47-picker's People

Contributors

danielbeeke avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

fonsp

bcp47-picker's Issues

Add bcp47 registry hints to the options

The BCP47 registry has extra information for some language codes. This information states if the language is a macro code or not. Please incorporate this information so that users can make a better decision when choosing a language tag.

Improve documentation

Why would an organization use this widget?
How can it help in the media landscape if we all have correct langcodes?

Document bootstrap dependency

Hey! Thanks for your work!

It might be nice to document that users should load bootstrap.css on their page for bcp47-picker to display correctly. (For our use case, it would be really nice to be able to use the component without having to load bootstrap globally, but we might be able to work around it.)

Cannot blur by clicking outside the picker

Hey! I love the BCP47 picker, super nice!

I noticed that you cannot blur the component by clicking outside of it, like you would expect from an <input> component.

Schermopname.2023-11-20.om.12.43.50.mov

WordPress widget

How can we integrate with WordPress? Are you a WordPress developer, please let us know how we can integrate this language picker into the WordPress in a way that makes it accessible to most WordPress users.

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.