|
1 | 1 |
|
2 | 2 | # Application Resource Bundle Specification
|
3 |
| - * [Simple, extensible and directly usable](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#simple-extensible-and-directly-usable) |
4 |
| - * [Sample resource file](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#sample-resource-file) |
5 |
| - * [Resource Id](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-id) |
6 |
| - * [Resource Value](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-value) |
7 |
| - * [Placeholder in resource](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#placeholder-in-resource) |
8 |
| - * [Plural and Gender support](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#plural-and-gender-support) |
9 |
| - * [CSS resource](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#css-resource) |
10 |
| - * [Resource attributes](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-attributes) |
11 |
| - * [Predefined resource attributes](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#predefined-resource-attributes) |
12 |
| - * [Global attributes](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#global-attributes) |
13 |
| - * [Customized attributes](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#customized-attributes) |
14 |
| - * [Resource Linking](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#resource-linking) |
15 |
| - * [Verbose and Compact versions of ARB](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#verbose-and-compact-versions-of-arb) |
16 |
| - * [ARB namespace and registration](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#arb-namespace-and-registration) |
17 |
| - * [Namespace reference with or without variation part](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#namespace-reference-with-or-without-variation-part) |
18 |
| - * [ARB file organization](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#arb-file-organization) |
19 |
| - * [Using ARB in](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#using-arb-in) |
20 |
| - * [Using ARB in HTML](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#using-arb-in-html) |
21 |
| - * [Common Mistakes when creating resource in ARB format](https://github.com/googlei18n/app-resource-bundle/wiki/ApplicationResourceBundleSpecification#common-mistakes-when-creating-resource-in-arb-format) |
| 3 | +- [Application Resource Bundle Specification](#application-resource-bundle-specification) |
| 4 | + - [Simple, extensible and directly usable](#simple-extensible-and-directly-usable) |
| 5 | + - [Sample resource file](#sample-resource-file) |
| 6 | + - [Resource Id](#resource-id) |
| 7 | + - [Resource Value](#resource-value) |
| 8 | + - [Placeholder in resource](#placeholder-in-resource) |
| 9 | + - [Plural and Gender support](#plural-and-gender-support) |
| 10 | + - [CSS resource](#css-resource) |
| 11 | + - [Resource attributes](#resource-attributes) |
| 12 | + - [Predefined resource attributes](#predefined-resource-attributes) |
| 13 | + - [Global attributes](#global-attributes) |
| 14 | + - [Customized attributes](#customized-attributes) |
| 15 | + - [Resource Linking](#resource-linking) |
| 16 | + - [Verbose and Compact versions of ARB](#verbose-and-compact-versions-of-arb) |
| 17 | + - [ARB namespace and registration](#arb-namespace-and-registration) |
| 18 | + - [ARB namespace](#arb-namespace) |
| 19 | + - [Namespace reference with or without variation part](#namespace-reference-with-or-without-variation-part) |
| 20 | + - [ARB file organization](#arb-file-organization) |
| 21 | + - [Using ARB in JavaScript](#using-arb-in-javascript) |
| 22 | + - [Manipulating ARB Instance](#manipulating-arb-instance) |
| 23 | + - [Resource String in ARB](#resource-string-in-arb) |
| 24 | + - [Using ARB in HTML](#using-arb-in-html) |
| 25 | + - [Text in HTML](#text-in-html) |
| 26 | + - [Image in HTML](#image-in-html) |
| 27 | + - [CSS](#css) |
| 28 | + - [Common Mistakes when creating resource in ARB format](#common-mistakes-when-creating-resource-in-arb-format) |
22 | 29 |
|
23 | 30 | ## Simple, extensible and directly usable
|
24 | 31 | Application Resource Bundle (abbr. ARB) is a localization resource format that is simple (based on JSON), extensible (vocabulary can be added without affecting existing tools and usage), and directly usable (applications can access the resource directly from this format without converting to another form).
|
@@ -421,4 +428,4 @@ CSS is handled the same way as other HTML element. A style element need to be pr
|
421 | 428 | ## Common Mistakes when creating resource in ARB format
|
422 | 429 | * Invalid JSON format: the last item in a map/array should not be terminated by comma.
|
423 | 430 | * Invalid JSON format: directional quotation marks (left quotation (“;U+201C) + right quotation (”;U+201D)) are used instead of non-directional quotation marks (";U+0022).
|
424 |
| - * Attribute not defined in ARB specification must be prefixed by `x-` |
| 431 | + * Attribute not defined in ARB specification must be prefixed by `x-` |
0 commit comments