Git Product home page Git Product logo

poc-stenciljs-i18n's Introduction

POC StencilJS i18n

POC i18n with StencilJS

Installation

  1. Use the package manager to install project deps.
yarn && yarn bootstrap
# or
npm install && npm run bootrstrap
  1. After installing the deps, we will now configure Crowdin. First you'll add CROWDIN_PROJECT_ID and CROWDIN_API_TOKEN of yours Crowdin account in env of terminal (bash, zsh or other).

  2. Build all projects, just run into root directory yarn build

  3. Start Core app with yarn start

  4. Well done ๐Ÿ˜„

Commands

Build all projects

yarn build

Start Core app

yarn start

Upload new translations

cd packages/i18n
yarn i18n:upload

Download translations

cd packages/i18n
yarn i18n:download

Upload New Translations

  1. Adding new translation keys into packages/i18n/src/configs/translations.json
  2. After just run yarn i18n:upload
  3. The new translations will be on Crowdin

Download Translations

  1. Translate all terms on Crowdin
  2. Run yarn i18n:download to get the new translations
  3. The new translations will be present on packages/i18n/src/configs/en/translations.json and packages/i18n/src/configs/pt/translations.json

Demos

Look and test all demos into examples folder

poc-stenciljs-i18n's People

Contributors

0xleozera avatar

Stargazers

Hadj H. avatar

Watchers

James Cloos 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.