Skip to content

Update format of the I18n messages  #15

@dzhitomirsky-sc

Description

@dzhitomirsky-sc

The old format of I18n messages is deprecated and will be changed soon - need to migrate to new one.
Check out the warning message:

WARNING:
Such I18nManager 'register' method signature is deprecated and its support will be removed soon!
Instead of using locale bundles sturcture like this:

[
  {locales: ['en'], messages: {yes: 'jes'}}
  {locales: ['de'], messages: {yes: 'ja'}}
]

use the following structure:

{
  'en': {yes: 'jes'},
  'de': {yes: 'ja'}
}

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions