On this page
getLocaleId
function experimental
| npm Package | @angular/common | 
|---|---|
| Module | import { getLocaleId } from '@angular/common'; | 
     
| Source | common/src/i18n/locale_data_api.ts | 
function getLocaleId(locale: string): string;
  Description
The locale id for the chosen locale (e.g en-GB).
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
 https://v5.angular.io/api/common/getLocaleId