Skip to content

API reference

Quittio\Core\I18n

quittio/core#

Quittio\Core\I18n

  • ArrayTranslatorTranslator backed by PHP array files: {path}/{locale}/{group}.php.
  • TranslationsHolds the translator used for code labels and validation messages.
  • Translator interfaceMinimal translator contract so that the core works without Laravel. Keys use the form "group.key" (e.g. "labels.due_date", "rules.BR-CO-25.message").

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.