odrviewer icon indicating copy to clipboard operation
odrviewer copied to clipboard

language support: chinese

Open pageldev opened this issue 1 year ago • 11 comments

I noticed that many Chinese people use the viewer. I would like to offer a Chinese version. Maybe @XiaXingLuo can you provide translations for the UI elements? I'm not really good in Chinese.

pageldev avatar Aug 23 '24 15:08 pageldev

I am Chinese and can offer some assistance. How should I proceed?

vaezc avatar Aug 28 '24 02:08 vaezc

It would be best if you could provide a table with translations of the UI elements. Like this:

English Chinese
Reset ???
Export .obj ???
Spotlight ???

pageldev avatar Aug 28 '24 04:08 pageldev

I noticed that many Chinese people use the viewer. I would like to offer a Chinese version. Maybe @XiaXingLuo can you provide translations for the UI elements? I'm not really good in Chinese.

Oh. I'm so busy with my job recently that I don't check email. I see people have offerred help, the Chinesization problem will be solved. Thanks for your effort for this repository.

XiaXingLuo avatar Aug 28 '24 10:08 XiaXingLuo

I am glad to help with the translation, but could you please share the source code with me to ensure that I can do it more efficiently and accurately.

vaezc avatar Aug 28 '24 10:08 vaezc

I am glad to help with the translation, but could you please share the source code with me to ensure that I can do it more efficiently and accurately.

The core of the viewer is closed-source,but it doesn't affect your work. You can refer to this websitehttps://odrviewer.io, there are many labels(variables) on the page, just like QT. You can translate this labels locally, only provide Chinese-English comparison table. Moreover, you can see this repository, there is a index.html, It will help you.

XiaXingLuo avatar Aug 28 '24 11:08 XiaXingLuo

@XiaXingLuo @vaezc There is now a Chinese version available here: https://odrviewer.io/?lang=zh Can you check if the translation is good? Thanks!

pageldev avatar Oct 22 '24 16:10 pageldev

@XiaXingLuo @vaezc There is now a Chinese version available here: https://odrviewer.io/?lang=zh Can you check if the translation is good? Thanks!

Hi, Thanks for your grate work. There is no problem with your translation overall. Here are my suggestions.

English Chinese Remark
Routing 路线规划 function is planning route
Road NetWork 道路网
Road Objects 道路对象
Road Signals 道路信号
Lateral Profile 横剖面
Lane Height 车道高度
Center Map 地图中心化
Road Objects Abs Z 道路对象使用绝对Z值
Fix Spiral Edge Cases 螺旋线边缘情况修复
Reference Line 车道参考中心线
Roadmarks 道路标志
Grid 网格
Reference Line Arrows 参考线箭头
Wireframe 线框

XiaXingLuo avatar Oct 23 '24 01:10 XiaXingLuo

@XiaXingLuo thank you for your help! I extended and updated the translations. Can you check if it's ok?

pageldev avatar Nov 10 '24 15:11 pageldev

I also translated the tooltips when hovering above entries in "Parse Options" Screenshot 2024-11-10 at 16 48 53

pageldev avatar Nov 10 '24 15:11 pageldev

I also translated the tooltips when hovering above entries in "Parse Options" Screenshot 2024-11-10 at 16 48 53

OK, I noticed that. Two suggestions.

English Chinese Remark
parse road height records, offsetting lanes from reference-line plane 解析记录的道路高度数据,基于车道参考中心线所在平面进行偏移 Moreover, according to your tooltips, I find I made a mistake that the function seems to do action raising the road, the result is that the lane is higher than before. If true I suggest to translate "Lane Height" into "道路增高"
Treat spiral as line if start and end curve are zero, Treat as arc if start and end curve are equal. 如果起始和终止曲线曲率为0,则视为直线,如果起始和终止曲线曲率想等,则视为弧线。 I don't know whether it is my device problem that In the website, the "arc" shows "?"

XiaXingLuo avatar Nov 13 '24 03:11 XiaXingLuo

Thanks @XiaXingLuo! I updated the translations. I didn't change the "Lane Height" translation since it controls if the property in the gets used. I'm not sure what you mean by "arc" shows "?".

pageldev avatar Nov 13 '24 22:11 pageldev