WIP: Add language localisation for all missing items #171
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "update-all-language-items-from-google-translate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add language localisation for all missing items
Remove unused AutoloadDlcAndUpdateAddedMessage
First attempt was not passing through the region information for the language and was only using the Language itself, e.g. "zh_TW" was Chinese Simplified not Chinese Traditional, this has now been fixed so that Region information is also used when converting, confirmed that new items in "zh_TW" are now using Traditional Chinese.
Created a utilty which uses the publicly accessible Google Translate to find all missing locale items and translate them, the utility preserves all original encoding and translations and only adds the missing ones, please help me to confirm the language conversions are good. I did consider sorting all of them so that the locales are all in alphabetical order of name, but that would have caused us to lose our ability to diff these accurately, so left them in the order they are in as much as possible.
For some reason it is complaining about bidirectional unicode characters, but these were already in there, I can regenerate them and not use the JavaScriptEncoder.UnsafeRelaxedJsonEscaping encoder, but this will then end up modifying a lot of these items using /uxxxx syntax instead which I feel is not ideal.
Download the artifacts for this pull request:
GUI-less (SDL2)
Only for Developers
Hey @GreemDev ,
I have created this as a Draft for now, the tool has been fixed to use the correct language for Chinese Simplified vs Traditional.
I have put the tool on GitHub, you can find it here:
https://github.com/amurgshere/LanguageLocaliser
Thank You.
Hey @WilliamWsyHK ,
Are you able to check out the translations for Chinese in this one and let me know if there are still issues?
Thank You.
I have already commented yesterday on the file, and one of the translations is painfully wrong.
Please I am begging you not to translate any languages you don't know.
Adding the English in each of the locale is already good enough to fill up those gaps so that those people who know that language can at least start from somewhere.
Ok then no problem, just trying to help @WilliamWsyHK , will leave the translation to you.
Pull request closed