gulp-i18n-leverage
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "gulp-i18n-leverage", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Merge changes in default JSON into localized JSON for i18n-behavior", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
104
README.md
@@ -20,54 +20,4 @@ # gulp-i18n-leverage | ||
## Quick Tour | ||
[Quick Tour](#quick-tour) | ||
### Quick demo deployment | ||
``` | ||
git clone https://github.com/t2ym/polymer-starter-kit-i18n.git | ||
cd polymer-starter-kit-i18n | ||
npm install -g gulp bower # 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 | ||
``` | ||
### Change language on the demo | ||
##### 1. Press F12 to open debugger console on the browser | ||
##### 2. Navigate to the elements or DOM tab in the debugger | ||
##### 3. Change `lang` attribute of `html` element from "en" to "ja" or "fr" | ||
``` | ||
<html lang="ja"> | ||
``` | ||
### Update UI strings on the demo | ||
##### 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 | ||
``` | ||
##### 2. Merge changes into JSON files | ||
``` | ||
cd polymer-starter-kit-i18n | ||
gulp --dev | ||
``` | ||
##### 3. Check diffs | ||
``` | ||
git diff app | ||
``` | ||
## Workflow | ||
@@ -328,4 +278,56 @@ | ||
## Quick Tour | ||
### Quick demo deployment | ||
``` | ||
git clone https://github.com/t2ym/polymer-starter-kit-i18n.git | ||
cd polymer-starter-kit-i18n | ||
npm install -g gulp bower # 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 | ||
``` | ||
### Change language on the demo | ||
##### 1. Press F12 to open debugger console on the browser | ||
##### 2. Navigate to the elements or DOM tab in the debugger | ||
##### 3. Change `lang` attribute of `html` element from "en" to "ja" or "fr" | ||
``` | ||
<html lang="ja"> | ||
``` | ||
### Update UI strings on the demo | ||
##### 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 | ||
``` | ||
##### 2. Merge changes into JSON files | ||
``` | ||
cd polymer-starter-kit-i18n | ||
gulp --dev | ||
``` | ||
##### 3. Check diffs | ||
``` | ||
git diff app | ||
``` | ||
## License | ||
[BSD-2-Clause](https://github.com/t2ym/gulp-i18n-leverage/blob/master/LICENSE.md) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25701
332