Giter Site home page Giter Site logo

I18n support about emoji-mart HOT 3 CLOSED

missive avatar missive commented on August 22, 2024
I18n support

from emoji-mart.

Comments (3)

ai avatar ai commented on August 22, 2024 1

Yeap, I think we could just add some props like i18n or texts:

<Picker texts={{ search: 'Поиск', smiles: 'Смайлы', food: 'Еда' }}>

from emoji-mart.

EtienneLem avatar EtienneLem commented on August 22, 2024 1

Added i18n prop to Picker (v0.3.1). See README#i18n for the object signature.

Thanks for the suggestion, let me know if it doesn’t work as expected 🤘

from emoji-mart.

EtienneLem avatar EtienneLem commented on August 22, 2024

Good call. Just took a look at the codebase and it really is just the categories and the search input that have static text, will be pretty easy to implement without the use of a third party library. Right now, I don’t think there would be a way to do that other than doing some JS shenanigans after mounting the component.

No promises, but I should be able to find time in the next ~24 hours and release a new version that includes I18n support.

from emoji-mart.

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.