expect-digital / translate

Translation for distributed systems
0 stars 0 forks source link

Add `ngx-translate` conversation to `pkg/convert/json_ngxtranslate.go` #17

Closed janishorsts closed 1 year ago

janishorsts commented 1 year ago

pkg/convert contains all conversations between different translation files and a translate data model.

Convert to and from Angular ngx-translate.

Example of Angular JSON. ngx-translate. The lookup can be nested or dot concatenated string (e.g. home.title).

{
  "home": {
    "title": "Welcome!"
  }
}

The target is serialized []byte.