Home | History | Annotate | Download | only in docs

Lines Matching full:_locales

367 named <code>_locales/<em>localeCode</em></code>,
380 <img src="images/i18n-hierarchy.gif" alt="In the extension directory: manifest.json, *.html, *.js, _locales directory. In the _locales directory: en, es, and ko directories, each with a messages.json file." width="385" height="77">
407 <img src="images/i18n-after-1.gif" alt="In the manifest.json file, &quot;Hello World&quot; has been changed to &quot;__MSG_extName__&quot;, and a new &quot;default_locale&quot; item has the value &quot;en&quot;. In the JavaScript file, &quot;Hello World&quot; has been changed to chrome.i18n.getMessage(&quot;extName&quot;). A new file named _locales/en/messages.json defines &quot;extName&quot;." width="782" height="228">
411 If an extension has a <code>_locales</code> directory,
490 and put the copy into a new directory under <code>_locales</code>.
493 under <code>_locales/es</code>.
498 <img src="images/i18n-after-2.gif" alt="This looks the same as the previous figure, but with a new file at _locales/es/messages.json that contains a Spanish translation of the messages." width="782" height="358">
659 <code>_locales/en_GB/messages.json</code>.
676 and neither <code>_locales/en_GB/messages.json</code>
677 nor <code>_locales/en/messages.json</code> contains the message,
679 <code>_locales/es/messages.json</code>.