question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Registering locale data mismatch between documents and API

See original GitHub issue

I’m having issues with with my pipe is throwing an error on locale data missing.

Reading the docs I says to register the locale data like this:

registerLocaleData(localeFr, 'fr-FR');

But when reading the common.d.ts file it says:

/**

  • Register global data to be used internally by Angular. See the
  • “I18n guide” to know how to import additional locale data.
  • The signature registerLocaleData(data: any, extraData?: any) is deprecated since v5.1
  • @publicApi */

What is the correct use?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
petebacondarwincommented, Jun 5, 2020

Tracking at FW-2220

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 5 Breaking change - manually import locale
The CLI imports the locale data for you when you use the parameter --locale with ng serve and ng build.
Read more >
Spring Data MongoDB - Reference Documentation
The Spring Data MongoDB project applies core Spring concepts to the development of solutions that use the MongoDB document style data store.
Read more >
Language & Localization - OneSignal Documentation
The OneSignal dashboard and API makes "English" the default language, but use any language you need in this field. Think of "English" as...
Read more >
Error codes - CKEditor 5 Documentation
Error codes. CKEditor 5 Framework logs errors and warnings to the console. The following list contains more detailed descriptions of those issues.
Read more >
FormGroup - Angular
Tracks the value and validity state of a group of FormControl instances. ... The key for each child is the name under which...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found