
So, of course it is possible. And it is a good idea, but it would a lot of work. See https://wiki.qt.io/How_to_create_a_multi_language_application for hints in C++. The Python version should be fairly similar. Switching the language dynamically would not need to be supported. Basically, any where there is GUI text, a translation function call needs to be made. There are lots of places where that is done. And support would need to be added to generate the translation files. It would be easier if ChimeraX used Qt's .ui files, but that ship has sailed. If you were to order which dialogs would have translations, which ones would you pick first? HTH, Greg On 10/22/2024 9:36 AM, 刘俊骅 via ChimeraX-users wrote:
Dear UCSF ChimeraX Developers,
I hope this email finds you well.
Firstly, I would like to express my sincere gratitude for developing such a powerful and versatile software as UCSF ChimeraX. It has been an invaluable tool for my research and visualization needs.
I have a question regarding the translation of the GUI interface language. I am interested in translating the interface into another language. Since I noticed that UCSF ChimeraX is based on Python, I was wondering if it is possible to modify certain .json, .py, or .xml files to change the displayed language. My intention is purely for personal use, and I have no plans to distribute or profit from any modifications.
Could you please provide any guidance or resources on how to achieve this? Any pointers or documentation would be greatly appreciated.
Thank you very much for your time and consideration.
Best regards!
Junhua Liu 273667986@qq.com
_______________________________________________ ChimeraX-users mailing list --chimerax-users@cgl.ucsf.edu To unsubscribe send an email tochimerax-users-leave@cgl.ucsf.edu Archives:https://mail.cgl.ucsf.edu/mailman/archives/list/chimerax-users@cgl.ucsf.edu/