GithubHelp home page GithubHelp logo

qpc-github / i18nifty Goto Github PK

View Code? Open in Web Editor NEW

This project forked from garronej/i18nifty

1.0 2.0 0.0 1.81 MB

๐ŸŒŽ Type safe React i18n library

Home Page: https://i18nifty.dev

License: MIT License

TypeScript 100.00%

i18nifty's Introduction

Logo Dark

Logo Light

Type-safe internationalization and translation React library

Home - Documentation - Sandbox

NEW:

  • GZipped size 22.5Kb -> 4.6Kb
  • Asynchronous download of locales (in SPA)

What do I expect from my i18n library

  • I want true type safety, If I forgot something I want to be warned about it at compile time. I want to be guided by intelisence through and through so I can focus on my content.
  • I want to be able to use React components and involve JS logic in my translations (even if it means giving up support for third part translations services like https://locize.com/).
  • I want the language to default to the browser preference.
  • I want the language preferences to be persistent across reloads.
  • I want asynchronous loading of locales (disclaimer: not yet available with SSR)
  • SEO: I want to let Google know that my website is available in multiple languages.
  • I want all this to work with server side rendering.
  • I want to be able to change the language of my app by adding ?lang=xx to the URL without involving my routing library.
  • I want to be able to explicitly fallback to English when I can't translate myself.

i18nifty is the first i18n library that checks all the boxes. Discover.

demo_1_gh demo_2_gh demo_3

Roadmap

  • React Native support.
  • SSG Support.
  • Support lazy loading of SSR and SSG.

i18nifty's People

Contributors

garronej avatar renovate[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.