![]() Processed 843440 lines in 17342.666943 seconds Originally planned but scrapped Best way to ensure a translation is complete is to look for all OK on the processing from JSON -> data files then a final log statement which looks like: Partial translation is not clearly indicated to the user after a run.If it starts snapping up then back down turn off auto scroll then turn it back on again to snap to last line. The behavior of the scrollbar is a little wonky when it's translating.Move the main data file to a (.backup) version to force RPG Maker to load in the new files.Re-create the data files from the translated json files.if it isn't cached hit translation API and cache result.For each block check cache and return if it's cached already.Break the string for the original tag into "blocks" by only translating uninterrupted sequences of Japanese characters.For each line check for an "original" tag.Loading a cache file for the output language if it exists.Run translation for all non-skipped files.Extract all the data files and assets from the main data file.Back up any original data files that exist in the original's Data directory (pre-translated).Copy the source directory to the output directory (/).The script runs several steps which can be altered by the settings: There are three main dependencies for this tool that are included and one that is not. There is currently no extract or translation aid tool for MV. The tool supports RPG Maker XP, VX, and VX Ace. It is this author's hope that a master cache translation file can be built up for each language allowing quick and easy translations in the future. It supports output into several languages supported by the underlying API. ![]() The GUI app runs this script and hooks into its logs as well as providing functionality to edit settings and cached translations. The core of this tool is a ruby script called auto_translate.rb. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |