Hi all, I’ve been using vesc tool for years and I’m pretty familiar with it now.
BUT, because of the language is in English, most of my friends have not a single clue as to how to use it.
So I’m thinking about translating it to Chinese but i have no clue where I should start. I’ve been snooping around in the code and found the values I want to change but I’ve got no clue how to compile it for windows or Android. (Running windows 10btw)
as a person who can read and write both languages, i won’t even know how to translate some words. i don’t think its that simple, especially u need to translate everything including all the descriptions and also explaination very accurately, so the user will understand how to use it.
Also, some words aren’t exactly translatable…i think
Yeah I know lol.
The Userbase it’ll mostly target is the people that don’t know what they’re doing, so I’m going to put "打死你也不要动” in for the advanced stuff
That’s fantastic news! I’ve had trouble understand how to work with QT, managed to translate some UI. I guess I gotta get back on ripping the terms outta QT and translating them.
The longName and description tags in the XML motor config file would need to be changed. Specifically the part in bold:
<longName>Motor Current Max Brake</longName>
and for the help text
<description><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Roboto'; ; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">Maximum (braking) motor current. The is the maximum current that will be fed back to the VESC and when braking, thus negative. The energy from the braking current will be fed back to the battery.</span></p></body></html></description>
The rest is HTML formatting and can probably stay the same.
For the tab names at the top, that’s the subgroup tag in the same XML files
<subgroupName>Current</subgroupName>
For the menu on the left side, that’s in the mainwindow.cpp file under addPageItem