Tool to organize translations in JSON files

str picture str · Feb 28, 2016 · Viewed 18.4k times · Source

I'm investigating different translation tools for my Angular app. So far, angular-translate seems to be a good solution for that. It uses per-language JSON files that are structured like "lang/NAMESPACE/LANG.json" (e.g. "lang/user/de.json") and look like this:

{
  "key1": "Value1",
  "key2": "Value2",
  "key3": "Value3",  
}

Optionally, the JSON might also be nested.

This seems to be easy to use. However, is slightly inconvenient when actually adding new or changing existing translations. You have to change back and forth different language files and it is cumbersome to find a translation for a certain key. Comparing different translations is also inconvenient.

Is there any tool that can read local translation files and is able to show different translations side-by-side for each key? Either an application (Mac OS support is a must) or browser-based.


Update:

I've been using FrontAid CMS for that for a while now. It makes editing JSON files in multiple languages very easy and is integrated with Git. Disclaimer: I'm also working at FrontAid.

Answer

beat picture beat · Jan 12, 2017

I have not tried it (yet) but this might work: https://github.com/jcbvm/i18n-editor

Written in Java, so will (most probably) work on a Mac.