Comments (10)
how can traslate?, with what program?
Hi @luisluna2,
You don't need to make any change in the Python .py files.
- First, install the QT linguist software,
- Then, go to the <cn5X>/i18n directory,
- Duplicate the file cn5X.en.ts to cn5X.es.ts for example to make the spanish translation (the actual cn5X.es.ts is an empty translated file, so you can replace it),
- Open your new .ts file with QT linguist software,
- Change the language cible in the "Edit/File parameter" menu,
- Replace all the items english translation by your new langage translation,
- Save the new translated .ts file,
- Use the "File/Publish" menu to publish the .qm file in the same <cn5X>/i18n directory. It is this cn5X.<LOCALE>.qm wich is used by cn5X to translate the interface at run time,
- Don't forget to update the i18/cn5X_locales.xml to reflect your new translation,
- Dont forget to send to me your new .ts file :-)
Thanks for your contribution,
@++;
Gauthier.
from cn5x.
Hi all,
To avoid duplicate work, please, write here the translation you plan to do.
By the way, don't modify the files : mainWindow.py, dlgConfig.py and dlgAPropos.py. Those files are generated by the QT Designer devloppement tool and probably will be crushed by the next ui change.
I make the choice of don't translate some of the ui items, especially the originals Grbl commands or messages wich stay in the Grbl language (for example the "Soft Reset (^X)" button). This can be discuss here :-)
Thanks,
Gauthier.
from cn5x.
Hi @cneve
You also need to update the cn5X_locales.xml file in the i18n directory...
In wich language do you have made your translation ? It will be fine if you can send it to me :-)
@++;
Gauthier.
from cn5x.
I am now changing in the en.ts file. After I have finished, I will send you the TS file. Gauthier thank you for your help.
from cn5x.
@fra589
Friend, how can traslate?, with what program?
from cn5x.
Gauthier ,if translate some of the original code of grbl, will there be problems?Grblcom connection failure occurs several times when clicking connect.
Today, I translated most of the buttons and labels,I found many failed connections, which led me to reinstall grbl.˃̣̣̥᷄⌓˂̣̣̥᷅
from cn5x.
HI @cneve,
If you translate the grbl code itself, cn5x to grbl serial com will stop to work since cn5X analyse and wait for the original sentences of grbl.
For example, to complete the connection, cn5X wait to receive a string (case sensitive) wich begin with "Grbl " and end with "help]"... So, if you translate the word "help" in the original code of grbl, cn5X never end its connection.
however, when you made many connections and deconnections, grbl crash ans stop to work correctly (I don't know why but it's a fact). In this case, generaly, it's enought to power off the grbl card and close cn5X, wait few seconds and restart the operation.
@++;
Gauthier.
from cn5x.
Hi @fra589 I will modify to Spanish :)
from cn5x.
hi @fra589
CN5X can publish WINX86 installation file, thank you!
from cn5x.
Hi @dbxzjq,
I am sorry, but my Windows develop box is broken (pleonasm 😋), so, I can't make Windows installation files for the moment(and probably for a long time).
But you can install prerequisites separately and run cn5X directly after...
To install on Windows :
- Download and install latest Python 3 from https://www.python.org (don't forget to add Python in PATH environment variable)
- Run cmd (as Administrator if you have installed Python for all users)
- in cmd, type "pip install pyqt5"
- Download and copy the whole cn5X directory from Github,
=> Double click on the cn5X.py downloaded file in Windows explorer...
Enjoy using cn5X++
@++;
Gauthier.
from cn5x.
Related Issues (20)
- Windows Installer - Updated Release HOT 2
- cn5X++转成EXE无法打开 HOT 1
- Hard limits and A axis display bugs? HOT 13
- Help to run the program HOT 15
- Testing cn5X on Windows 10 HOT 5
- Missing a G92 button.. HOT 3
- CN5X locks up HOT 3
- cnc5X on Debian HOT 2
- Windows conection problem HOT 1
- Enter on grbl configuration, close cn5x (Raspberry PI) HOT 7
- Setup.py Syntax error HOT 4
- large gcode files? HOT 1
- Ramps 1.6 HOT 4
- $10 Setting HOT 2
- Does not work for me under Windows 10 HOT 2
- Error in linux install HOT 1
- Windows 10, Think I am doing something wrong. Have followed instructions to the best of my ability. Found 1 other with similar problem. His remedy did not work for me. HOT 13
- Crashes when accessing grbl settings HOT 5
- Fonctionne t'il avec un arduino et un tb6560 sur port LPT? HOT 1
- homing direction invert mask crash HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cn5x.