Forums » CentiLeo for Cinema 4D
Pages: 1
什么时候能够发布 正式版本,并且支持简体中文
中国用户 十分期待
 
User  Posts: 4
Nov 5, 2021 04:31
他很棒的 产品 ,十分期待之后的使用,因为语言不通 使用起来有阻碍 ,希望能够在发布之后支持中文 ,
 
Administrator  Posts: 599
Nov 5, 2021 11:27
Kaki, thank you very much! I hope we will be able to make translation to Chinese at some point in the future. Of course it includes not only renderer interface translation, but also a future documentation. Also here on this forum it's better to use English language (even translated by computer) to better search the information.
多谢 :)
 
User  Posts: 2
Nov 7, 2021 20:46
:D
Edited: shuo - Nov 7, 2021 20:47
 
User  Posts: 2
Nov 7, 2021 20:47
The independently modified language files can be released, and interest lovers will actively translate them into their own language. Most simplified Chinese software is independently sinicized by interest lovers, and developers can also reduce the translation cost
 
User  Posts: 1
Nov 8, 2021 01:40
dfnbnmb
 
Administrator  Posts: 599
Nov 8, 2021 13:26
Sure I will do this, there are Chinese files actually. Btw, it's possible to do even now for any use. He can just explore the res directory inside CentiLeo plugin, find *.str files - they describe all GUI words that we use for this or that module.
Also it's possible to translate Cinema/CentiLeo node space GUI for node materials/shaders. To do this one may open Resource Editor (type this in search string in top right corner of Cinema GUI). In this resource editor a user may find the CentiLeo nodespace database and go through all the materials and shaders to translate what is "Bitmap", what is "Ramp" and etc. There are not many, and things are quite easy.
 
User  Posts: 4
Nov 14, 2021 00:27
;)
Edited: Kaki - Nov 14, 2021 00:29
 
User  Posts: 4
Nov 14, 2021 00:28
Is the current version a test version? Or when can we release the official version? I am looking forward@ Kirgman
 
Administrator  Posts: 599
Nov 14, 2021 05:36
Hi Kaki! I think CentiLeo is already quite stable and has very good amount of features. Of course more features will be added. But I think it's rather stable
 
I have translated most of the texts into simplified Chinese. I will release a Chinese version on Bilibili these days
 
User  Posts: 4
Nov 17, 2021 11:05
amazing,@Peirato Looking forward, I might as well leave the ID for a while, so that I can become the first viewer
 
Administrator  Posts: 599
Nov 17, 2021 19:49
Hi Peirato! Welcome to CentiLeo :) Thank you very much for your initiative! You are absolutelly great! 8) Did you replaced English texts or added Chinese as an extra language version? Have you seen the node-based material settings text labels? Feel free to get my support with translation!
 
Quote
Kirgman wrote:
Hi Peirato ! Welcome to CentiLeo Thank you very much for your initiative! You are absolutelly great! Did you replaced English texts or added Chinese as an extra language version? Have you seen the node-based material settings text labels? Feel free to get my support with translation!
I wrote a program that can directly generate an additional Chinese language folder(strings_cn),it assists me in translation through the translation API, of course, it can also generate language files in other languages, but the translation quality may not be very good, I can cooperate with the program makes the quality of Chinese translation better, but I don’t know how to translate the node text and the text in the UI, so I can’t achieve perfect Chinese translation.So I hope you can help me make a better translation,thanks~
@Kaki Here is the video link:https://www.bilibili.com/video/BV1ZU4y1K7kz
 
Administrator  Posts: 599
Nov 18, 2021 15:10
To edit the node materials there are few steps:

1. Open Cinema 4D in developer mode. To do this you may open the properties of Cinema.exe shortcut. This shortcut of exe file can be found in windows task panel. In the properties of shortcut edit the launching object to this string:
Code
"C:\Program Files\Maxon Cinema 4D R21\Cinema 4D.exe" g_applicationRepositoryWritable=true g_developerNodeEditorFunctions=true g_descriptionEditorDeveloperMode=true
It just changes the command line params to developer mode when you use the shortcut. Alternatively you may use a command line (cmd.exe) to launch Cinema with this string.
I would show a screenshot, but it's in Russian :))


2. Then launch Cinema as Administrator clicking on the edited shortcut or command line. Create CentiLeo node material, right-click mouse on material node and click "Edit Resource".
In the opened window you will see the interface of this particular node. To change the language you have to edit the strings of the GUI elements as highlighted in the image.
For sure you have to select the proper language in the top left corner of this window when you edit the strings.



3. The other CentiLeo nodes can be selected for editing in the top left corner in "Id" line (2 rows to the down from Language).

4. After you have finished your editing you should click to the top menu item Database and select "Save all Databases".

5. Your changes will be reflected in the files in this folder (this is the CentiLeo plugin folder and it's internal "res\nodes\" subfolder)
Code
C:\Program Files\Maxon Cinema 4D R21\plugins\CentiLeoR21\res\nodes
As you can see currently this folder contains 2 .json files. They are hardly readable, but they contain a structure and a language file of the interface. Currently one English language. Then if you have setup Chinese language in your Cinema GUI you can probably add Chinese from that resource editor. Or maybe clone the english version of CentiLeo .json file and rename en-US to Chinese suffix (I don't know how it looks currently).

6. The resulting .json files for R21 in our example after you have saved the Databases can be copied to the other plugin versions for R22-R25. All .json files are the same for all Cinema versions for CentiLeo.

7. The other optional way to open Resource Editor (avoiding steps 1 and 2) is to click the "Search" icon in the very top right corner (under the close X button), and type "Resource Editor" there. In the opened window of resource editor select the language and the database "com.centileo.nodes.module"

In reality this is not complex. But the message looks large :)
Maxon describes the launching of Resource editor with their documentation for programmers where you can see similar screenshots https://developers.maxon.net/docs/Cinema4DCPPSDK/html/page_handbook_node_implementati­on_nodespace.ht...
 
Thank you very much for your help.
I will translate a better Chinese version in the near future, thank you again~
Pages: 1
Users browsing this topic