Git Product home page Git Product logo

localization-json-translator's Introduction

localization-json-translator

Helps you convert your <language>.json file from one language to any other language!

Pre-requisites

  • You need a defined {language}.json file which you can convert to a different language. Right now, we only support english as the source language.
  • A google project id. Refer this to know how to create a project. Note down the project id as we will need it later.
  • Add Google translate service to the project. Refer here to see how to do it.
  • Add an API key to the translate service. Refer here. Note down the API key as we will need it later.

How to use this?

Clone the repo and run npm install -g.

After this is done, the command translate will be available globally in your terminal.

Run translate from your terminal and follow the instructions. That's it!

Roadmap

  • Support translating multiple languages at the same time
  • Support nested objects in the translation file
  • Support other translation services apart from Google Translate.

localization-json-translator's People

Contributors

amith2110 avatar amith92 avatar sarika01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

localization-json-translator's Issues

The command is not working?

translate : File C:\Users\AMA\AppData\Roaming\npm\translate.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see
about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1

  • translate

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.