/icotjo

a utility for parse i18n.csv to i18n json file

Primary LanguageGo

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": "ようこそ"
}