Re-work of the translate system for shapekeys, bones and etc. #56

Closed
opened 2024-02-25 16:54:13 +00:00 by Ghost · 4 comments
Ghost commented 2024-02-25 16:54:13 +00:00 (Migrated from git.disroot.org)

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.

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.
Ghost commented 2024-02-26 14:47:04 +00:00 (Migrated from git.disroot.org)

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).

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).
Ghost commented 2024-03-01 01:41:30 +00:00 (Migrated from git.disroot.org)

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.

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.
Ghost commented 2024-03-10 12:40:58 +00:00 (Migrated from git.disroot.org)

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.

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.
Ghost commented 2024-03-12 22:15:20 +00:00 (Migrated from git.disroot.org)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Kneelawk/Cats-Blender-Plugin#56
No description provided.