W3cubDocs

/Angular

clearTranslations

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

API

function clearTranslations(): void;

Description

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

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

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/localize/clearTranslations