--- source_files: - DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.AddCalculatedChannel/Resources/TranslateExtension.cs - DTS Viewer/DTS.Viewer.Modules/DTS.Viewer.AddCalculatedChannel/Resources/StringResources.Designer.cs generated_at: "2026-04-17T15:56:15.275064+00:00" model: "zai-org/GLM-5-FP8" schema_version: 1 sha256: "485d316f89383148" --- # Documentation: DTS.Viewer.AddCalculatedChannel.Resources ## 1. Purpose This module provides localization/internationalization infrastructure for the "Add Calculated Channel" feature within the DTS Viewer application. It consists of a WPF markup extension (`TranslateExtension`) that enables XAML-based string localization, backed by an auto-generated strongly-typed resource class (`StringResources`) that exposes localized strings for UI labels, calculation types, error messages, and sensor-related terminology (IR-TRACC, HIC calculations, etc.). --- ## 2. Public Interface ### `TranslateExtension` (Markup Extension) **Namespace:** `DTS.Viewer.AddCalculatedChannel` A WPF markup extension for retrieving localized strings in XAML bindings. | Member | Signature | Description | |--------|-----------|-------------| | Constructor | `TranslateExtension(string key)` | Initializes the extension with the resource key to look up. Stores the key in