Color table names (GenericColors, AbdomenColors, ColdToHotRainbow, etc.) are used for identifying color tables programmatically and also appear on the user interface.
It should be possible to specify a separate "title" for each color table that can be translated, while keeping the same "name" for programmatic use.
Color table files should be standard .csv files that cannot store additional metadata, so the title could be stored in a separate .json file, similarly to the VolumeDisplayPresets.json file. Translation could use the logic translation interface developed in https://github.com/Slicer/Slicer/issues/6647.
Color table names (
GenericColors
,AbdomenColors
,ColdToHotRainbow
, etc.) are used for identifying color tables programmatically and also appear on the user interface.It should be possible to specify a separate "title" for each color table that can be translated, while keeping the same "name" for programmatic use.
Color table files should be standard .csv files that cannot store additional metadata, so the title could be stored in a separate .json file, similarly to the VolumeDisplayPresets.json file. Translation could use the logic translation interface developed in https://github.com/Slicer/Slicer/issues/6647.