GitXplorerGitXplorer
j

aem-i18n-convert

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
440ae060c7a2a625b8761067ddd529f6a6aa458c

Merge branch 'release/1.0.5'

committed 6 years ago
Unverified
cc6d90bdb942fbc49ba091550c9cf9947bf152ec

Release 1.0.5

committed 6 years ago
Unverified
8d1eac0c6b11bf774e149df90d24bf13aecbd5e3

Resolve relative or absolute paths for input

committed 6 years ago
Unverified
2436886d31477d2886ddef37b4e1ef848c4cdc60

Merge branch 'release/1.0.4'

committed 6 years ago
Unverified
06c27f76fbe903590c0810bcc64096cde9ec4998

Merge tag 'v1.0.4' into develop

committed 6 years ago
Unverified
05f40d5bdb4e0d12446b3207f5d3f5591176b6cf

Release 1.0.4

committed 6 years ago

README

The README file for this repository.

aem-i18n-convert

Description

Use aem-i18n-convert to convert JSON format dictionaries to sling:MessageEntry format. This is highly beneficial in large production environments with continuously changing keys.

If you're using a sling:MessageEntry format, you can create content packages with specific keys that may need to be rolled into a release, without releasing the whole dictionary (and merging it with production values ahead of time).

If you're using JSON format dictionaries, you will need to either manually add new keys / update existing keys, or merge all of the production values ahead of time (which still leaves a window of time where keys may be updated in production just before you release your updated dictionary).

Keys are automatically sorted alphabetically to make hand merging easier if necessary.

Usage

Convert an AEM i18n dictionary to sling:MessageEntries.
Usage: aem-i18n-convert.js

Options:
  --version    Show version number                                     [boolean]
  -H, --help   Print usage and quit.                                   [boolean]
  -i, --input  i18n json format file

Example

# npm install -g aem-i18n-convert
# aem-i18n-convert --input /path/to/en_us.json > /path/to/apps/project/i18n/mydictionary/en_us.xml