Module ftl

Module ftl 

Source
Expand description

FTL file operations shared across CLI commands.

This module consolidates common FTL parsing and extraction logic used by the format, check, and sync commands.

Structs§

LocaleContext
Context for locale-based FTL file operations.

Functions§

extract_message_keys
Extract message keys from a resource.
extract_variables_from_message
Extract variables from a message.
extract_variables_from_pattern
Extract variables from a pattern.
parse_ftl_file
Parse an FTL file and return the resource.