angular-cn/packages/localize/src
Pete Bacon Darwin 5684ac5e34 feat(localize): support Application Resource Bundle (ARB) translation file format (#36795)
The ARB format is a JSON file containing an object where the keys are the
message ids and the values are the translations.

It is extensible because it can also contain metadata about each message.

For example:

```
{
  "@@locale": "...",
  "message-id": "Translated message string",
  "@message-id": {
    "type": "text",
    "description": "Some description text",
    "x-locations": [{ "start": {"line": 23, "column": 145}, "file": "some/file.ts" }]
  },
}
```

For more information, see:
https://github.com/google/app-resource-bundle/wiki/ApplicationResourceBundleSpecification

PR Close #36795
2020-11-25 10:55:40 -08:00
..
localize build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tools feat(localize): support Application Resource Bundle (ARB) translation file format (#36795) 2020-11-25 10:55:40 -08:00
utils refactor(localize): allow ParsedMessage to hold additional location data (#38536) 2020-08-25 15:13:09 -07:00
translate.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00