Code Monkey home page Code Monkey logo

i18next-example-typescript's Introduction

i18next-example-typescript

In this example we are going to start form a simple login application and add multilanguage support.

Scenarios that we are going to cover:

  • Translate markup text.
  • Translate text generated by javascript.
  • User interpolation.
  • Split language resources in json files.
  • Create namespaces to group translations like validation messages.

More samples coming soon:

  • Use namespaces.

In the future we will incorporate more samples.

About folder structure:

  • 00_start: Starting point (no multilanguage).

  • 01_basic_translastion: application supporting mulilanguage (english / spanish).

  • 02_change_language: added tu buttons to change the preffered language on the fly.

  • 03_split_json: split local translation into separate json files and load them on demand.

  • 04_namespaces: create namespaces to group translations like validation messages.

Each project (except 00 start) includes in its subfolder a Readme.md file with an step by step guide to reproduce it.

Additional resources:

Official React Guide: https://react.i18next.com/guides/quick-start.

About Basefactor + Lemoncode

We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.

Basefactor, consultancy by Lemoncode provides consultancy and coaching services.

Lemoncode provides training services.

For the LATAM/Spanish audience we are running an Online Front End Master degree, more info: http://lemoncode.net/master-frontend

i18next-example-typescript's People

Contributors

brauliodiez avatar lissetteibnz 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.