New Feature: Ink Translator Manager #211
Open
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.
Ink Translator Manager
This simple and single script adds the Ink Translator Manager window, designed to assist users in translating their Ink files efficiently.
This is the blank view of the window.
How to setup:
Open this window from the Window Tab in Unity Editor. It should be right below of the Ink Player.
Enter the root directory in the designated field and click Force File Checking. The script will scan for any missing files and lines in the translation directories.
This is an example of an multi-language hierarchy.
Generate Missing Files
If any files are missing in a language directory, you can generate a copy of the original file. Use this window to compare and translate files side-by-side directly within Unity.
In this scenario, the Dialogue.ink file is missing in both en-us and es-es directories, but it exists in pt-br.
This is the in-engine Ink Editor that gives the user the possibility of comparing and editing the files side-to-side after copying them.
File Comparison
The script detects if one version of a file has more lines than its counterpart, these files will appear in the Comparator tab of the window. You can compare and edit them side-by-side, making it easy to adjust and synchronize translations.
In this scenario, the Dialogue.ink file has 2 lines, in comparasion with the other 2 versions that has only one, which could be a problem in-game.
With this tool, you can see whats missing and sync the files perfectly side-by-side.
Manual File Selection
Alternatively, manually select two Ink files to edit, compare, and save changes as needed.