Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-i18n-leverage

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-i18n-leverage - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

2

package.json
{
"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",

@@ -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)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc