Crate rusty18n

source ·

Macros§

Structs§

  • A struct representing access to i18n resources, with fallback support.
  • A struct representing an internationalization (i18n) dynamic resource.
  • The I18NStore wraps a HashMap that maps key value pairs of Locale keys and localized implementations.
  • A wrapper for i18n resources, providing access and fallback support.

Traits§

  • A trait for defining fallback behavior in internationalization (i18n). It should be used when defining the main i18n component, it will be used when a given i18n resource tries to be acquired but isn’t present for the given locale at that moment.
  • This trait groups Key, Value types for a given I18N implementation.

Type Aliases§

  • This type is used to define a dynamic i18n resource that uses argument variables. DR stands for Dynamic Resource.
  • This type is used to define a simple i18n resource that does not have any dynamic variables that shall be captured by thy. R stands for Resource.