Git Product home page Git Product logo

Comments (5)

adrai avatar adrai commented on July 17, 2024 2

I just updated the react-icu example: i18next/react-i18next@c5068a1
=> https://github.com/i18next/react-i18next/tree/master/example/react-icu

Yes, the locale-data folder is expected to not exist anymore, because the newest intl-messageformat uses Intl's built-in locales, so this is not needed anymore.
So if you want to use i18next-icu v2 make sure you update your intl-messageformat dependeny

from i18next-icu.

adrai avatar adrai commented on July 17, 2024

the newest intl-messageformat uses Intl's built-in locales, so no more locale loading. This is the reason it was bumped to 2.0.0

from i18next-icu.

spacejamjim avatar spacejamjim commented on July 17, 2024

@adrai is there a migration document for this?
For example:
import de from 'i18next-icu/locale-data/de' is still in the documents here: https://react.i18next.com/misc/using-with-icu-format#extend-the-i-18-n-instance-with-icu-module

How would I now do this?

from i18next-icu.

adrai avatar adrai commented on July 17, 2024

@cellog can you help?

from i18next-icu.

psxpa3 avatar psxpa3 commented on July 17, 2024

from i18next-icu.

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.