Typed Locale

Translator

Estimated reading time: 1 minute

The Translator is a core concept in typed-locale. It's a function that takes a translation selector and returns the translated string. The Translator ensures type safety and provides a convenient way to access your translations.