Extract all buttons from a file for LLM translation.
This is a convenience method that processors can use to extract all translatable buttons with their symbols in a format-agnostic way.
Array of button objects from any AAC format
OptionalcontextFn: (button: any) => { pageId?: string; pageName?: string }Optional function to provide page context for each button
Array of normalized button data ready for LLM translation
Translation Namespace
LLM-based translation utilities for AAC files with symbol preservation.
These utilities are used by processor classes. See individual processors for:
Or use the lower-level utilities directly: