Slicer / SlicerLanguagePacks

3D Slicer extension for creating, editing, and storing translations for Slicer core and extensions
MIT License
7 stars 11 forks source link

Translation for VolumeDisplayPresets.json #43

Open DouSam opened 9 months ago

DouSam commented 9 months ago

Was mapped in issue #41, the tooltip(when you hover the cursor) from the predefinitions still appears in English.

image

As mentioned by @lassoan,

Need to implement translation for Modules\Loadable\Volumes\Resources\VolumeDisplayPresets.json - similarly to how CLI module descriptor .xml files are translated.

lassoan commented 4 months ago

Similar preset translations would be needed for:

lassoan commented 4 months ago

A new extract_translatable_from_volume_rendering_presets(...) function could be added to Utilities\Scripts\update_translations.py that would be called similarly to extract_translatable_from_cli_modules(...).