clearTranslations

From Get docs
< @angular/localizeAngular/docs/latest/api/localize/cleartranslations


clearTranslations

function

Remove all translations for $localize, if doing runtime translation.

See more...

clearTranslations()

Parameters

There are no parameters.


See also

  • loadTranslations() for loading translations at runtime.
  • $localize for tagging messages as needing to be translated.

Description

All translations that had been loading into memory using loadTranslations() will be removed.


© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/localize/clearTranslations