{
  "id": "api/core/LOCALE_ID",
  "title": "LOCALE_ID",
  "contents": "\n\n<article>\n  <div class=\"breadcrumb-container\">\n    <div class=\"breadcrumb\">\n      <script type=\"application/ld+json\">\n        {\n          \"@context\": \"http://schema.org\",\n          \"@type\": \"BreadcrumbList\",\n          \"itemListElement\": [\n            { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n            { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/core\", \"name\": \"@angular/core\" } },\n            { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/core/LOCALE_ID\", \"name\": \"LOCALE_ID\" } }\n          ]\n        }\n      </script>\n        <a href=\"/api\">API</a> > <a href=\"api/core\">@angular/core</a>\n    </div>\n    <div class=\"github-links\">\n  <a href=\"https://github.com/angular/angular/edit/master/packages/core/src/i18n/tokens.ts?message=docs(core)%3A%20describe%20your%20change...#L34-L33\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n  <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/core/src/i18n/tokens.ts#L34-L33\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n  </div>\n  \n  <header class=\"api-header\">\n    <h1 id=\"locale_id\">LOCALE_ID<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/LOCALE_ID#locale_id\"><i class=\"material-icons\">link</i></a></h1>\n    \n    <label class=\"api-type-label const\">const</label>\n    \n    \n    \n  </header>\n  \n  <aio-toc class=\"embedded\"></aio-toc>\n\n  <div class=\"api-body\">\n    \n  <section class=\"short-description\">\n    <p>Provide this token to set the locale of your application.\nIt is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,\nDecimalPipe and PercentPipe) and by ICU expressions.</p>\n\n    <p><a href=\"api/core/LOCALE_ID#description\">See more...</a></p>\n  </section>\n  \n  \n  \n  <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\">\n  const <a href=\"api/core/LOCALE_ID\" class=\"code-anchor\">LOCALE_ID</a>: <a href=\"api/core/InjectionToken\" class=\"code-anchor\">InjectionToken</a>&#x3C;string>;\n  </code-example>\n\n  \n\n  \n  \n<section class=\"description\">\n  <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/LOCALE_ID#description\"><i class=\"material-icons\">link</i></a></h2>\n  <p>See the <a href=\"guide/i18n#setting-up-locale\">i18n guide</a> for more information.</p>\n\n  <p>Further information available in the <a href=\"api/core/LOCALE_ID#usage-notes\">Usage Notes</a>...</p>\n</section>\n\n\n  \n<section class=\"usage-notes\">\n  <h2 id=\"usage-notes\">Usage notes<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/LOCALE_ID#usage-notes\"><i class=\"material-icons\">link</i></a></h2>\n  <h3 id=\"example\">Example<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/core/LOCALE_ID#example\"><i class=\"material-icons\">link</i></a></h3>\n<code-example language=\"typescript\">\nimport { <a href=\"api/core/LOCALE_ID\" class=\"code-anchor\">LOCALE_ID</a> } from '@angular/core';\nimport { <a href=\"api/platform-browser-dynamic/platformBrowserDynamic\" class=\"code-anchor\">platformBrowserDynamic</a> } from '@angular/platform-browser-dynamic';\nimport { AppModule } from './app/app.module';\n\n<a href=\"api/platform-browser-dynamic/platformBrowserDynamic\" class=\"code-anchor\">platformBrowserDynamic</a>().bootstrapModule(AppModule, {\n  providers: [{provide: <a href=\"api/core/LOCALE_ID\" class=\"code-anchor\">LOCALE_ID</a>, useValue: 'en-US' }]\n});\n</code-example>\n\n</section>\n\n\n\n  </div>\n</article>\n\n<!-- links to this doc:\n - api/common/CurrencyPipe\n - api/common/DecimalPipe\n - api/common/I18nPluralPipe\n - api/core\n - guide/i18n\n-->\n<!-- links from this doc:\n - /api\n - api/core\n - api/core/InjectionToken\n - api/core/LOCALE_ID#description\n - api/core/LOCALE_ID#example\n - api/core/LOCALE_ID#locale_id\n - api/core/LOCALE_ID#usage-notes\n - api/platform-browser-dynamic/platformBrowserDynamic\n - guide/i18n#setting-up-locale\n - https://github.com/angular/angular/edit/master/packages/core/src/i18n/tokens.ts?message=docs(core)%3A%20describe%20your%20change...#L34-L33\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/core/src/i18n/tokens.ts#L34-L33\n-->"
}