Hi,
At RhinoArtisan, we’ve found it increasingly challenging to translate and maintain toolbars in multiple languages. To address this, we’ve developed a small Python script that automatically translates a toolbar from English into the 12 languages available in Rhino.
This script uses the Google Translate API. While the translations may not be perfect, they can save you a lot of time and enhance the experience for users of your plugins.
I’m not a Python expert, but using this script is quite straightforward. Simply edit the code to replace RhinoArtisan.rui with the name of your toolbar, then run the following command to install the required libraries:
py -m ensurepip --default-pip
py -m pip install googletrans==4.0.0-rc1
pip install httpx
Hope you find it useful!
Rafael del Molino
RA Toolbar Localizer.py (4.5 KB)