OLD | NEW |
1 <div id="pageData-name" class="pageData">Formats: Locale-Specific Messages</div> | 1 <h1>Formats: Locale-Specific Messages</h1> |
2 <div id="pageData-showTOC" class="pageData">true</div> | 2 |
3 | 3 |
4 <p> | 4 <p> |
5 Each internationalized extension has at least one | 5 Each internationalized extension has at least one |
6 file named <code>messages.json</code> | 6 file named <code>messages.json</code> |
7 that provides locale-specific strings for the extension. | 7 that provides locale-specific strings for the extension. |
8 This page describes the format of <code>messages.json</code> files. | 8 This page describes the format of <code>messages.json</code> files. |
9 For information on how to internationalize and localize your extension, | 9 For information on how to internationalize and localize your extension, |
10 see the <a href="i18n.html">Internationalization</a> page. | 10 see the <a href="i18n.html">Internationalization</a> page. |
11 </p> | 11 </p> |
12 | 12 |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 <pre> | 320 <pre> |
321 "placeholders": { | 321 "placeholders": { |
322 "our_site": { | 322 "our_site": { |
323 "content": "Example.com", | 323 "content": "Example.com", |
324 }, | 324 }, |
325 "user": { | 325 "user": { |
326 "content": "$1", | 326 "content": "$1", |
327 "example": "Cira" | 327 "example": "Cira" |
328 } | 328 } |
329 } | 329 } |
330 </pre> | 330 </pre> |
331 | |
332 | |
333 | |
OLD | NEW |