terjeio / ioSender

A GCode Sender for Grbl and grblHAL written in C# (Windows only).
BSD 3-Clause "New" or "Revised" License
225 stars 67 forks source link

LocBaml Tools puzzle me? #143

Closed hankecnc closed 3 years ago

hankecnc commented 3 years ago

I don't think I have a correct understanding of the correct way to use the locbaml tool???? I opened the CNC.Controls.WPF.resources.zh-CN.csv file with office and translated a few words, and then typed LocBaml.exe /generate CNC.Controls.WPF.resources.dll /trans:CNC in the cmd window .Controls.WPF.resources.zh-CN.csv /out:d:\ /cul:zh-CN He did not report an error, and generated a CNC.Controls.WPF.resources.dll on the D drive , I copied it and replaced it to the program directory. Running the program did not change anything. I checked the md5 value of CNC.Controls.WPF.resources.dll. The LocBaml tool just copied CNC.Controls.WPF.resources.dll to me. D drive?

I realized that I did not understand the correct way to use the LocBaml tool???

According to my understanding, can the locbaml tool convert my translated CNC.Controls.WPF.resources.zh-CN.csv to CNC.Controls.WPF.resources.zh-CN.dll?

terjeio commented 3 years ago

According to my understanding, can the locbaml tool convert my translated CNC.Controls.WPF.resources.zh-CN.csv to CNC.Controls.WPF.resources.zh-CN.dll?

With the sender directory as the current drirectory and the .csv copied there try this:

./locbaml.exe /generate en-us\CNC.Controls.WPF.resources.dll /tran:CNC.Controls.WPF.resources.zh-CH.CSV /out:zh-CH /cul:zh-CH

hankecnc commented 3 years ago

据我了解,locbaml工具能否将我翻译的CNC.Controls.WPF.resources.zh-CN.csv转换为CNC.Controls.WPF.resources.zh-CN.dll?

将发件人目录作为当前目录并将 .csv 复制到那里,试试这个:

./locbaml.exe /generate en-us\CNC.Controls.WPF.resources.dll /tran:CNC.Controls.WPF.resources.zh-CH.CSV /out:zh-CH /cul:zh-CH

OK了