Re-work of the translate system for shapekeys, bones and etc. #56
Labels
No labels
Added
Avatar Toolkit Idea (Won't be added to Cats)
Cleanup
Fixed
Further Info Needed
In Progress
Might Add
Release Candidate
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Kneelawk/Cats-Blender-Plugin#56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The current system could be improved and should be able to support more then 1 language (Currently only Japense is supported) as more models are coming from Korea as well it would be a good idea if the system supported Korean as well.
Therefor it would be for the best if I re-work the translate system to try to be faster but also make it easy to add new languages. This will also allow the community to add there own translations as well to the internal system.
This system will also let users contribute to the dictionary as well which will be done via a other github or a other system. Cats will download this dictionary on startup to ensure it's up to date. (Local copy will be updated before an release just in case user is offline).
I want to also add the export to CSV system which i made for the shapekeys work for everything, bones, materials and etc.
More info to follow as I look into the best way to add this.
So looking into to the code and some tests later, it seems the translate system only supports Japanese and not other languages. I could add support to this or I can re-write the entire module. I going to plan this one out a little more.
This may take a little more time then it thought to get working though as I may need to add code to fix other languages like Korean and etc (Though I may be able to leach off the Japanese code for this).
I now have a concept for this feature, however it's a little buggy and has it's issues. I going to further refine it and I hope to have it out for the next major release which will be version 3.6.7.0 for Blender 3.6 and version 4.0.5.0 for Blender 4.0. (And possible version 4.1.1.0 for Blender 4.1 if MMD tools actually get's updated for that blender version).
This will take a bit of time to do as I limited on time for the next week or two.
The start of the new translate system is now live on the 3.6 dev. I still need to get other languages working but it's a start.
Ok I got a newer version of the translate system working, however brining additional languages brings it challenges.
First of all google translate is just bad, like wow..... I bring Korean and I get a different translation every time and as my Korean is very basic I don't currently have the confidence to start an internal dictionary for it to improve translations.
Second the new translate system though better and faster, it has it's issues, using regex though more rebust seems to introduce issues where certain stuff isn't translated.
I think I going to have to shelve the translation system re-write for now but I may pick it up when I have more time.