Skip to content

API Reference

Runtime API

  • Methods$t, $ts, $_t, $_ts, locale switching, routing helpers
  • Eventsi18n:register, i18n:beforeLocaleSwitch, i18n:afterLocaleSwitch
  • Translations and CacheTranslationStorage, payload loading, $clearCache

Server middleware

Server handlers use dedicated middleware (not the client $t helpers):

See the full Server-Side Translations guide for setup, locale detection priority, and examples.

Released under the MIT License.