{
  "id": "api/localize/clearTranslations",
  "title": "clearTranslations",
  "contents": "\n\n<article>\n  <div class=\"breadcrumb-container\">\n    <div class=\"breadcrumb\">\n      <script type=\"application/ld+json\">\n        {\n          \"@context\": \"http://schema.org\",\n          \"@type\": \"BreadcrumbList\",\n          \"itemListElement\": [\n            { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://angular.io//api\", \"name\": \"API\" } },\n            { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://angular.io/api/localize\", \"name\": \"@angular/localize\" } },\n            { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://angular.io/api/localize/clearTranslations\", \"name\": \"clearTranslations\" } }\n          ]\n        }\n      </script>\n        <a href=\"/api\">API</a> > <a href=\"api/localize\">@angular/localize</a>\n    </div>\n    <div class=\"github-links\">\n  <a href=\"https://github.com/angular/angular/edit/master/packages/localize/src/translate.ts?message=docs(localize)%3A%20describe%20your%20change...#L70-L84\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n  <a href=\"https://github.com/angular/angular/tree/12.0.0-next.7/packages/localize/src/translate.ts#L70-L84\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n  </div>\n  \n  <header class=\"api-header\">\n    <h1 id=\"cleartranslations\">clearTranslations<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/localize/clearTranslations#cleartranslations\"><i class=\"material-icons\">link</i></a></h1>\n    \n    <label class=\"api-type-label function\">function</label>\n    \n    \n    \n  </header>\n  \n  <aio-toc class=\"embedded\"></aio-toc>\n\n  <div class=\"api-body\">\n    \n  <section class=\"short-description\">\n    <p>Remove all translations for <code><a href=\"api/localize/init/$localize\" class=\"code-anchor\">$localize</a></code>, if doing runtime translation.</p>\n\n    <p><a href=\"api/localize/clearTranslations#description\">See more...</a></p>\n  </section>\n  \n  \n  \n\n  <div class=\"overload-info\">\n  \n\n  <code-example language=\"ts\" hidecopy=\"true\" class=\"no-box api-heading\"> <span class=\"member-name\"><a href=\"api/localize/clearTranslations\" class=\"code-anchor\">clearTranslations</a></span>()</code-example>\n\n  \n\n  <h6 class=\"no-anchor\" id=\"parameters\">Parameters</h6>\n  <p>There are no parameters.</p>\n\n  \n\n\n  \n\n  \n</div>\n\n\n  \n<section class=\"see-also\">\n  <h2 id=\"see-also\">See also<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/localize/clearTranslations#see-also\"><i class=\"material-icons\">link</i></a></h2>\n  <ul>\n  \n    <li><p><code><a href=\"api/localize/loadTranslations\" class=\"code-anchor\">loadTranslations</a>()</code> for loading translations at runtime.</p>\n</li>\n    <li><p><code><a href=\"api/localize/init/$localize\" class=\"code-anchor\">$localize</a></code> for tagging messages as needing to be translated.</p>\n</li>\n  </ul>\n</section>\n\n\n  \n\n<section class=\"description\">\n  <h2 id=\"description\">Description<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/localize/clearTranslations#description\"><i class=\"material-icons\">link</i></a></h2>\n  <p>All translations that had been loading into memory using <code><a href=\"api/localize/loadTranslations\" class=\"code-anchor\">loadTranslations</a>()</code> will be removed.</p>\n\n  \n</section>\n\n\n\n  \n\n\n  </div>\n</article>\n\n<!-- links to this doc:\n - api/localize\n - api/localize/loadTranslations\n-->\n<!-- links from this doc:\n - /api\n - api/localize\n - api/localize/clearTranslations#cleartranslations\n - api/localize/clearTranslations#description\n - api/localize/clearTranslations#see-also\n - api/localize/init/$localize\n - api/localize/loadTranslations\n - https://github.com/angular/angular/edit/master/packages/localize/src/translate.ts?message=docs(localize)%3A%20describe%20your%20change...#L70-L84\n - https://github.com/angular/angular/tree/12.0.0-next.7/packages/localize/src/translate.ts#L70-L84\n-->"
}