how can i use chinese in python character, i add #coding:utf-8 in top, but it’s not work
Unicode support in Slicer is limited. It is supported at Python and Qt level, so it is possible to display Unicode characters to the users.
See these pages for details:
- Slicer Internationalization
- https://projectweek.na-mic.org/PW30_2019_GranCanaria/Projects/UltrasoundSimulatorTraining/ (see “Background and references” section for source code of a multi-language module)
I know Slicer internationalization,but it’s incomplete,i would like to translate SegmentEditorThresholdEffect.py,in SegmentEditorThresholdEffect.py, for example line 121, qt.QLabel(“Threshold Range:”), i would like to translate “Threshold Range” to chinese
We have plan to work on improving the support for i18n during the upcoming project week in Boston, that said if you can allocate some resources to support this work I suggest you look at the commercial partners.