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