Skip to content

Desktop application for finding and translating JSON language files in a web project. Built with python and TkInter.

Notifications You must be signed in to change notification settings

helder-a-reis/jsontranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON translator

Desktop application for translating JSON language files, for instance in a web project. Built with Python and PySimpleGUI.

Create an exe

To create an exe use pyinstaller, run "pyinstaller jsontranslator.py -F"

Usage

The program allows you to translate a json file (target file) based on another one (source file).

It was primarily designed to translate "ngx translate" json files in an Angular project but should work with any 2 json file, as long as they have the same keys.

Run jsontranslator.py (you might have to 'pip install -r requirements.txt' the first time) to launch from code or use the compiled jsontranslator.exe

  1. Select a source file, all keys will be displayed
  2. Select a target locale
  3. Select a key and enter a translation for the target
  4. Click "Save" or "Save and Next"

Nodes without a translation will be deleted. If you want to create a new locale simply create an empty .json .

Notes

There's no undo, it's assumed you have your files under version control.

About

Desktop application for finding and translating JSON language files in a web project. Built with python and TkInter.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages