Git Product home page Git Product logo

Comments (5)

Romanchuk avatar Romanchuk commented on June 7, 2024 1

@Merwer i've reproduced an issue. Library should behave as i18next framework.
In the upcomming version (3.0) i'm going to change this behavior to be the same as native and set it by default.
Current strict error handling would be also available to be set with a parameter.

from angular-i18next.

Romanchuk avatar Romanchuk commented on June 7, 2024

Thank you for info.
The issue is about fallback to generic culture (en) if there is no specific culture translation file loaded (en-US). Fix me if i am missunerstood you.
I'm going to dive into problem in a next week.

Temporary fix for this case is to wrap init promise in a new promise and resolve both positive and negative results.

from angular-i18next.

Merwer avatar Merwer commented on June 7, 2024

@Romanchuk Thanks for the quick response. I'm glad you were able to reproduce the issue, and I think your proposed solution would work out perfectly.

from angular-i18next.

Romanchuk avatar Romanchuk commented on June 7, 2024

@Merwer
version 3.0.0-alpha.2 with a new feature ErrorHandlingStrategy now available.
https://github.com/Romanchuk/angular-i18next#other-breaking-changes
npm install [email protected]

Demo app repository updated to use latest angular-i18next version

from angular-i18next.

Romanchuk avatar Romanchuk commented on June 7, 2024

angular-i18next v3.0.0 released

from angular-i18next.

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.