| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 [NOTEs for editors: | 2 [NOTEs for editors: |
| 3 * Try to be consistent about string vs. message (it's probably not yet). | 3 * Try to be consistent about string vs. message (it's probably not yet). |
| 4 --> | 4 --> |
| 5 <!-- BEGIN AUTHORED CONTENT --> | |
| 6 <p id="classSummary"> | 5 <p id="classSummary"> |
| 7 An <em>internationalized</em> extension | 6 An <em>internationalized</em> extension |
| 8 can be easily | 7 can be easily |
| 9 <em>localized</em> — | 8 <em>localized</em> — |
| 10 adapted to languages and regions | 9 adapted to languages and regions |
| 11 that it didn't originally support. | 10 that it didn't originally support. |
| 12 </p> | 11 </p> |
| 13 <p> | 12 <p> |
| 14 To internationalize your extension, | 13 To internationalize your extension, |
| 15 you need to put all of its user-visible strings into a file | 14 you need to put all of its user-visible strings into a file |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 function getAcceptLanguages() { | 471 function getAcceptLanguages() { |
| 473 chrome.i18n.getAcceptLanguages(function(languageList) { | 472 chrome.i18n.getAcceptLanguages(function(languageList) { |
| 474 var languages = languageList.join(","); | 473 var languages = languageList.join(","); |
| 475 document.getElementById("languageSpan").innerHTML = languages; | 474 document.getElementById("languageSpan").innerHTML = languages; |
| 476 }) | 475 }) |
| 477 } | 476 } |
| 478 </pre> | 477 </pre> |
| 479 <p> | 478 <p> |
| 480 For details on calling <code>getAcceptLanguages()</code>, see the | 479 For details on calling <code>getAcceptLanguages()</code>, see the |
| 481 <a href="#method-getAcceptLanguages">API reference</a>. | 480 <a href="#method-getAcceptLanguages">API reference</a>. |
| 482 </p> | 481 </p> |
| 483 <!-- END AUTHORED CONTENT --> | |
| OLD | NEW |