gulp-i18n-leverage
Advanced tools
Comparing version 1.1.2 to 1.1.3
{ | ||
"name": "gulp-i18n-leverage", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Merge changes in default JSON into localized JSON for i18n-behavior", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -751,3 +751,3 @@ [![Build Status](https://travis-ci.org/t2ym/gulp-i18n-leverage.svg?branch=master)](https://travis-ci.org/t2ym/gulp-i18n-leverage) | ||
### Quick demo deployment | ||
### Quick deployment of [`polymer-starter-kit-i18n`](https://github.com/t2ym/polymer-starter-kit-i18n) | ||
@@ -757,13 +757,18 @@ ``` | ||
cd polymer-starter-kit-i18n | ||
npm install -g gulp bower # if missing | ||
npm install -g polymer-cli # if missing | ||
npm install && bower install | ||
# Development build with scan/preprocess/leverage/bundle/feedback tasks | ||
gulp --dev | ||
# Run-time I18N demo on http://localhost:5000 | ||
gulp serve | ||
# Build-time I18N demo on http://localhost:5001 | ||
gulp serve:dist --dev | ||
# Add Locales (gulp 4 required) | ||
./node_modules/.bin/gulp locales --targets="de es fr ja zh-Hans" | ||
# Build (gulp 4 required) | ||
./node_modules/.bin/gulp | ||
# Translate XLIFF ./xliff/bundle.*.xlf | ||
# Build and Merge Translation | ||
./node_modules/.bin/gulp | ||
# App with Run-time I18N on http://localhost:8080 | ||
polymer serve | ||
# App with Build-time I18N on http://localhost:8080 | ||
polymer serve build/bundled | ||
``` | ||
### Change language on the demo | ||
### Change language | ||
@@ -774,3 +779,3 @@ ##### 1. Press F12 to open debugger console on the browser | ||
##### 3. Change `lang` attribute of `html` element from "en" to "ja" or "fr" | ||
##### 3. Change `lang` attribute of `html` element from "en" to other locales such as "ja" | ||
@@ -781,3 +786,3 @@ ``` | ||
### Update UI strings on the demo | ||
### Update UI strings | ||
@@ -787,5 +792,3 @@ ##### 1. Change any UI strings in the following HTMLs | ||
``` | ||
polymer-starter-kit-i18n/app/index.html | ||
/elements/my-greeting/my-greeting.html | ||
/elements/my-list/my-list.html | ||
polymer-starter-kit-i18n/src/*.html | ||
``` | ||
@@ -797,3 +800,4 @@ | ||
cd polymer-starter-kit-i18n | ||
gulp --dev | ||
# gulp 4 required | ||
./node_modules/.bin/gulp | ||
``` | ||
@@ -804,3 +808,3 @@ | ||
``` | ||
git diff app | ||
git diff | ||
``` | ||
@@ -807,0 +811,0 @@ |
162493
808