Module i18n

Module i18n 

Source
Expand description

Internationalization support for the code editor.

This module provides translation support for UI text in the search dialog. Currently supports English, French, and Spanish.

§Using rust-i18n

The translations are available in YAML files in the locales directory. The rust-i18n crate is integrated and can be used directly via the t! macro:

use iced_code_editor::t;

// Use translations directly
let text = t!("search.placeholder");

Structs§

Translations
Provides translated text strings for UI elements.

Enums§

Language
Supported languages for the code editor UI.