Language string comparison implementation #932
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Language string comparison is a Python script designed to facilitate the work of translators for the Applio program.
The script compares the JSON keys of the language used for translation with the language currently being worked on.
For example, if English was used to translate the Applio program into German, and changes are made to the JSON keys in the English language, those same changes need to be applied to the German language.
This script eliminates the need for manually searching for changes in the source language and adding them manually to the target language. Instead, the changes will be saved in a separate .json file, containing only the changes that need to be translated, which can then be copied into the target language.
Motivation and Context
This script eliminates the need for manually searching for changes in the source language and adding them manually to the target language. Instead, the changes will be saved in a separate .json file, containing only the changes that need to be translated, which can then be copied into the target language.
How has this been tested?
This has been tested on several languages and carefully and accurately identifies the JSON keys that differ.
Screenshots (if appropriate):
Types of changes
In an effort to simplify language translation, I also localized Applio to Serbian. Initially, I created this Python script for my own purposes, but then I came up with the idea to integrate it into Applio, specifically in the section where the code for language manipulation is located.
x
] New feature (non-breaking change which adds functionality)Checklist: