help for beginners
-
@sergei There would need to be a Russian translation first.
-
how can all this be implemented and what would work?
-
@sergei said in help for beginners:
how can all this be implemented and what would work?
Two steps needed:
- Expand the font to include any characters that you need that are not already in the font, at the correct Unicode code points. The font is generated using GLCD Font Creator.
- Add the Russian translations to the existing file Strings.hpp .
-
In which program to do this and where?
-
I just checked the source code, and Cyrillic characters are already supported as an option because a Ukrainian language translation was added recently. So the characters you need may already be present. In which case, all you needs to do is add the Russian translations to file Strings.hpp. You can find that file at https://github.com/Duet3D/PanelDueFirmware/blob/master/src/Strings.hpp.
-
I understand correctly . Editing inscriptions in Russian. Then what should be done?
-
@sergei Probably the easiest thing to do is create an account on github, clone the repository that holds the file @dc42 linked above, edit it in a text editor (copy the English section, edit the words to Russian, then paste it back in as a new section), then submit your new version of this file back to github as a 'pull request'. For example, here is the Italian translation pull request: https://github.com/Duet3D/PanelDueFirmware/pull/91
This is how most open source projects work, if you want to get involved it's worth learning.
Ian
-
Thanks for the advice. I will try now
-
@sergei If you want to test it, you'll need to compile your new version of the firmware in Eclipse. This is... not easy to set up. See the instructions here:
You will need Projects PanelDue (from the PanelDueFirmware repo, master branch https://github.com/Duet3D/PanelDueFirmware/tree/master) and RRFLibraries (dev branch https://github.com/Duet3D/RRFLibraries/tree/3.3-dev).
I suggest you start a new thread if you want support getting this working, in the PanelDue category.
Ian
-
if I throw off the finished file with the Russian language for you, you can make the firmware for the screen 4.3
-
@sergei It won't be included until the next release. At the moment, I don't think there is any development going on, and no release is planned, so it may be some time before it gets included.
Unfortunately, I don't have the development environment set up (I'm not a programmer), so I can't compile it for you.
Ian
-
I can probably find time to integrate your translation and produce a binary for you to test.
-
that would be very good. if you do it
-
Hey @sergei, i would like to integrate the russian translation, can you send it to me?
-
Yes. you need a file called Strings.hpp ?
-
@sergei if you have it, this would be the easiest.
-
Yes, I have it ready. you just need to build the firmware. Will you send me the finished one later?
-
@sergei not sure if i will make it today.
which device do you have?
did you do a pull request on github? or how can you provide the file?
-
I have a touch screen panel duet 4.3
-
send your mail. i will send you a file