Skip to content

a utility for parse i18n.csv to i18n json file

Notifications You must be signed in to change notification settings

wonsikin/icotjo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icotjo

I18n csv file convert to json file

Quick Start Guide

Install

go get -u -v github.com/wonsikin/icotjo

Usage

icotjo --help

Description

I18N.csv

key,zh-CN,en-US,ja
LOGIN,登录,Login,ログイン
WELCOME,欢迎,Welcome,ようこそ

zh-CN.json

{
  "LOGIN": "登录",
  "WELCOME": "欢迎"
}

en-US.json

{
  "LOGIN": "Login",
  "WELCOME": "Welcome"
}

ja.json

{
  "LOGIN": "ログイン",
  "WELCOME": "ようこそ"
}