Structs

Constants

Functions

  • The base path localizations will be loaded from, this is controlled by the TRANSLATION_DIR environment variable; Will default to the localizations subfolder of the current working directory if not set
  • Get the current default language, this is controlled by the DEFAULT_LANG environment variable. Will default to DEFAULT if not set
  • Load all fluent resource files from a directory and returns them. Only files with an .ftl extension will be loaded, does not load files from subfolders