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, "Hello World" has been changed to "__MSG_extName__", and a new "default_locale" item has the value "en". In the JavaScript file, "Hello World" has been changed to chrome.i18n.getMessage("extName"). A new file named _locales/en/messages.json defines "extName"." 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>.