AbstractStaticrawtextThe array of content to convert
A RawMessage with a rawtext property
StatictranslateCreates a translatable raw message using the given translation key and optional arguments.
The language key (e.g., "example.key")
OptionalwithArray: WithArrayOptional arguments for the translation
A RawMessage with translate and optionally with
StatickeyShorthand for translating keys under the configured namespace.
Either a string key or array of keys (e.g., "confirm", ["yes", "no"])
OptionalwithArray: WithArrayOptional replacement values
A RawMessage for the translation
StaticuiShorthand for translating UI keys under the configured namespace.
Either a string key or array of keys (e.g., "confirm", ["yes", "no"])
OptionalwithArray: WithArrayOptional replacement values
A RawMessage for the UI translation
StatictextShorthand for translating text keys under the configured namespace.
Either a string key or array of keys (e.g., "confirm", ["yes", "no"])
OptionalwithArray: WithArrayOptional replacement values
A RawMessage for the text translation
StaticactionShorthand for translating actionbar keys under the configured namespace.
Either a string key or array of keys (e.g., "confirm", ["yes", "no"])
OptionalwithArray: WithArrayOptional replacement values
A RawMessage for the actionbar translation
StatictranslateResolves a UI translation into a readable string.
Falls back to [Missing lang: key] or [Invalid rawtext: key] if unresolved.
The UI translation key
OptionalwithArray: WithArrayOptional replacements
The resolved string or fallback
Converts a mixed array of strings, numbers, or raw messages into a
RawMessage.