0.2.2 • Published 5 years ago

aem-polyglot v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

http://panda-soft.io

Build Status Coverage Status dependencies Status devDependencies Status JavaScript Style Guide

AEM Polyglot

This tool is designed mainly for developers who are tasked to translate automatically AEM dictionaries into other languages.

Naturally you could use built into AEM a translation project, however this tool can do the job quickly and without a need to even start AEM.

What's under the hood?

In order to translate entries we are using Yandex Translation API. It's free to use (for smaller quotes) and does not require from a developer nothing more then setting up an account an creation of an API key.

On the other hand Google Translate API enforces user to provide credit card data on the spot in orde to get the key.

Features

  1. Create new empty dictionaries with create command
  2. Add new dictionaries entries
  3. Sort dictionaries by node keys - will be very usefull in order to maintain conistent dictionaries
  4. Sorting in batch mode - whole directory
  5. Translate single dictionary to other language - including a set of given keys
  6. Translate in batch mode - whole directory

Usage

  1. Get your own Yandex Translate API key
  2. npm install -g aem-polyglot - install the package
  3. aem-polyglot --help - to get the list of commands
  4. aem-polyglot <command> --help - to get details of given <command>

Development

It's pretty simple and standard.

  1. npm install - to install
  2. npm run lint - to run eslint
  3. npm test - to run unit tests
  4. npm run lcov-report - coverage detailed report
0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago