Language
endstone.lang
¶
Language
¶
Represents the interface for translating text into different languages.
translate
¶
Translates a given text using a set of parameters for a specific locale.
translate(
translatable: Translatable, locale: str | None = None
) -> str
Translates a Translatable object into a specific locale.