UuuNyaa / blender_mmd_tools

MMD Tools is a blender addon for importing/exporting Models and Motions of MikuMikuDance.
GNU General Public License v3.0
1.91k stars 91 forks source link

Localization update #155

Open mmmhj2 opened 1 month ago

mmmhj2 commented 1 month ago

I have made some improvements to the m17n part of the code, specifically used official UI translation add-on to manage i18n information. This allows better organization and translation of hundreds of tooltips.

I've also proofreaded previous Chinese translations and fixed some typos. However I don't speak Japanese and cannot help with that part :(

Currently some translations are still missing, and I will finish Chinese translation soon.

mmmhj2 commented 1 month ago

Most translations are done. However some strings are not extracted by the translation add-on and some redundant ones present. See this issue for details.

mmmhj2 commented 4 weeks ago

Most translations are done. I believe it's ready for merging.

UuuNyaa commented 3 weeks ago

Thank you for the contribution! 😀 I am new to the official UI translation add-on and will look into translate/merge process.

By the way, we may not need to translate the following items, is it possible to remove them?

bpy.types.BoolProperty
bpy.types.BoolProperty.array_dimensions
bpy.types.BoolProperty.array_length
bpy.types.BoolProperty.default
bpy.types.BoolProperty.default_array
bpy.types.BoolProperty.is_array
bpy.types.CollectionProperty
bpy.types.CollectionProperty.fixed_type
bpy.types.StringProperty
bpy.types.StringProperty.default
bpy.types.StringProperty.length_max
mmmhj2 commented 3 weeks ago

Thank you for the contribution! 😀 I am new to the official UI translation add-on and will look into translate/merge process.

By the way, we may not need to translate the following items, is it possible to remove them?

bpy.types.BoolProperty
bpy.types.BoolProperty.array_dimensions
bpy.types.BoolProperty.array_length
bpy.types.BoolProperty.default
bpy.types.BoolProperty.default_array
bpy.types.BoolProperty.is_array
bpy.types.CollectionProperty
bpy.types.CollectionProperty.fixed_type
bpy.types.StringProperty
bpy.types.StringProperty.default
bpy.types.StringProperty.length_max

They can be removed safely. However due to the bug of the translation add-on, each time running these entries will be added back, so I just left them there.

UuuNyaa commented 3 weeks ago

@mmmhj2 Thanks for the answer. I now understand why it remains.