getLocaleId
function
The locale id for the chosen locale (e.g en-GB
).
getLocaleId(locale: string): string
Parameters
locale | Type: |
Returns
string
© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v6.angular.io/api/common/getLocaleId