# @theorchard/suite-i18n

## 2.13.5

### Patch Changes

-   Fallback to English PER KEY in createFormatter for partially translated locales

## 2.13.4

### Patch Changes

-   Warn about invalid plural forms for term

## 2.13.3

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.4.3

## 2.13.2

### Patch Changes

-   Migrate lodash imports to lodash-es in tests

## 2.13.1

### Patch Changes

-   Fallback to English in createFormatter when current locale isn't available in component translations

## 2.13.0

### Minor Changes

-   Re-export `I18nMessageJsxFormatterArgs` type

## 2.12.1

### Patch Changes

-   Adds missing source files to the published package. Without it source maps don't work properly.
-   Updated dependencies
    -   @theorchard/utils-i18n@1.2.4
    -   @theorchard/suite-i18n-localization@1.2.7

## 2.12.0

### Minor Changes

-   dateFormat support

## 2.11.0

### Minor Changes

-   Update plural categories handling for languages which have only one plural category (zh, ja, ko)

## 2.10.1

### Patch Changes

-   React 18 support for built-in and generated i18n types
-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.2.6

## 2.10.0

### Minor Changes

-   Extend handling plurals in localization according to the CLDR plural rules for supported languages

## 2.9.2

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.2.5
    -   @theorchard/utils-i18n@1.2.3

## 2.9.1

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.4.1

## 2.9.0

### Minor Changes

-   Added "getLocaleName" that returns locale name by code

## 2.8.5

### Patch Changes

-   Updated dependencies
    -   @theorchard/utils-i18n@1.2.2
    -   @theorchard/suite-i18n-localization@1.2.4

## 2.8.4

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.4.0

## 2.8.3

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.3.4

## 2.8.2

### Patch Changes

-   Updated dependencies
    -   @theorchard/utils-i18n@1.2.1
    -   @theorchard/suite-i18n-localization@1.2.3

## 2.8.1

### Patch Changes

-   Added exports field to package.json
-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.2.2
    -   @theorchard/suite-utils@1.3.3

## 2.8.0

### Minor Changes

-   Exports the "setNumberFormat" and "getNumberFormat" functions. The "formatNumber" function will now by default use the value set by "setNumberFormat".

## 2.7.0

### Minor Changes

-   formatNumber to allow digitGrouping

## 2.6.2

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.3.2

## 2.6.1

### Patch Changes

-   Re-exported missing `I18nMessageFormatterArgs` type from utils-i18n.

## 2.6.0

### Minor Changes

-   Exports new "createFormatter" function that allows creating a scoped formatter.

## 2.5.3

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.3.1

## 2.5.2

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.3.0

## 2.5.1

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.2.0

## 2.5.0

### Minor Changes

-   Export new formatJsxMessage function

## 2.4.1

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.1.2

## 2.4.0

### Minor Changes

-   Add formatNumber util.

## 2.3.8

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.2.1

## 2.3.7

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.1.1

## 2.3.6

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-utils@1.1.0

## 2.3.5

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.2.0

## 2.3.4

### Patch Changes

-   @theorchard/suite-i18n-localization@1.1.3

## 2.3.3

### Patch Changes

-   Updated dependencies
    -   @theorchard/suite-i18n-localization@1.1.2

## 2.3.2

### Patch Changes

-   Updated dependencies []
    -   @theorchard/suite-i18n-localization@1.1.1

## 2.3.1

### Patch Changes

-   Fix assignment of global formatters.

## 2.3.0

### Minor Changes

-   Renamed this lib suite-localization to suite-i18n

### Patch Changes

-   Updated dependencies []
    -   @theorchard/suite-i18n-localization@1.1.0

## 2.2.0

### Minor Changes

-   Add support for formatting messages with brand titles

## 2.1.0

### Minor Changes

-   adds formatDate method

## 2.0.0

### Major Changes

-   Remove option to configure formatMessage string replacement chars.
-   We support both double and single curly brackets by default.

## 1.1.5

### Patch Changes

-   Add getMessage and hasMessage utils

## 1.1.4

### Patch Changes

-   Make Dayjs and lodash peerDependencies

## 1.1.3

### Patch Changes

-   Add "appendTranslations" function

## 1.1.2

### Patch Changes

-   Export FormatMessageFunction type
-   Accept undefined locale in setCurrentLocale function.
    -   Will default to English 'en'.

## 1.1.1

### Patch Changes

-   add dayjs

## 1.1.0

### Minor Changes

-   Locales are automatically registered if defined as global window.ORCHARD_LOCALES.

## 1.0.5

### Patch Changes

-   new AppIcon / BrandIcon components

## 1.0.4

### Patch Changes

-   Export LocalizationManager and setCurrentLocale

## 1.0.3

### Patch Changes

-   fix formatMessage function return type

## 1.0.2

### Patch Changes

-   add lodash dependency
