README.md 394 Bytes
Newer Older
王品堯's avatar
王品堯 committed
1
# LanguageFileCompare
王品堯's avatar
王品堯 committed
2

王品堯's avatar
王品堯 committed
3
### Find missing key in Target files
王品堯's avatar
王品堯 committed
4 5 6 7 8 9 10

```
mvn package
```

可以在target下找到JsonFileCompare-exec.jar

王品堯's avatar
王品堯 committed
11
 ```
王品堯's avatar
王品堯 committed
12
java -jar LanguageFileCompare-exec.jar /xxx/locale-zh_TW.json /xxx/locale-zh_CN.json /xxx/locale-en_US.json
王品堯's avatar
王品堯 committed
13 14
```

王品堯's avatar
王品堯 committed
15 16
* 第一個參數為基準的json, 後面為要找出缺少key的目標檔案
* 增加檢查專案src/main/resources/i18n下的properties檔案