Language helper
Hi all,
for editing translations and adding new text elements to uilang.h and uilang.cpp I wrote a python GUI to make things a little easier and clearer. It uses a slightly altered uilang.h to make it easier to find where to put all the defines. uilang.cpp doesn't have to be altered. It's not the quickest program and it lags a lot on my computer but it works for me.
Thought I might share it. It's a work in progress though.
for editing translations and adding new text elements to uilang.h and uilang.cpp I wrote a python GUI to make things a little easier and clearer. It uses a slightly altered uilang.h to make it easier to find where to put all the defines. uilang.cpp doesn't have to be altered. It's not the quickest program and it lags a lot on my computer but it works for me.
Thought I might share it. It's a work in progress though.
Comments
Also if oyu look into dev2 branch you will see that we now split it into several files - one per language. Hope to remove the #if conditions in v2 in long term.
I see the attachment was not included in my first post, it should be now.
dev2 has no controller support at the moment. That will be one of the last things I add as I think I want to change how the menu gets generated to be more flexible here as well. But I see no way around the need to have the translation system as it is.
https://github.com/Anteino/Repetier-Firmware/blob/500XL-Minimal/src/ArduinoDUE/Repetier/LanguageHelper.py