Skip to main content

Module ftl

Module ftl 

Source
Expand description

Shared FTL file operations for CLI commands.

Structs§

FtlFileInfo
Information about a discovered FTL file.
LoadedFtlFile
A fully loaded FTL file with content and metadata.

Functions§

discover_and_load_ftl_files
Discover and load all FTL files for a locale and crate.
discover_ftl_files
Discover all FTL files for a given locale and crate, including main and namespaced files.
load_ftl_files
Load and parse FTL files, returning a list of loaded file info.
locale_output_dir
Build a path to the FTL output directory for a locale.
main_ftl_path
Build the path to the main FTL file for a crate in a locale.
parse_ftl_file_with_errors
Parse an FTL file and return both the resource and any parse errors.