LogoRobo.js
Packages@robojs/i18n

DIRECTORY

API reference for @robojs/i18n

@robojs/i18n

API reference documentation for @robojs/i18n.

Interfaces

  • PluginConfig - Plugin options for @robojs/i18n (e.g., defaultLocale).

Type Aliases

  • LocaleLike - A union describing acceptable inputs that carry a locale (string or objects with locale/guildLocale).

Functions

  • ClearFormatterCache - Clears the in-memory MessageFormat cache (useful for tests and hot reloads).
  • CreateCommandConfig - Creates a localized command configuration for Robo.js projects.
  • LoadLocales - Loads locale JSONs, builds slash-namespaced & flattened keys, stores values in State, and writes generated types.
  • T - Formats a localized message by key with strongly-typed params inferred from your MF2 message.
  • Tr - tr — a strict version of t:.
  • WithLocale

Variables

On this page