Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation for VolumeDisplayPresets.json #43

Open
DouSam opened this issue Sep 26, 2023 · 2 comments
Open

Translation for VolumeDisplayPresets.json #43

DouSam opened this issue Sep 26, 2023 · 2 comments
Assignees

Comments

@DouSam
Copy link
Contributor

DouSam commented Sep 26, 2023

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
Copy link
Collaborator

lassoan commented Feb 21, 2024

Similar preset translations would be needed for:

  • Color tables (Base\Logic\Resources\ColorFiles)
  • Volume rendering presets (Modules\Loadable\VolumeRendering\Resources\presets.xml)

@lassoan
Copy link
Collaborator

lassoan commented Feb 21, 2024

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(...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants