{"id":13341651,"url":"https://github.com/uiwebkit/localize-angular","last_synced_at":"2026-05-05T08:32:17.197Z","repository":{"id":143122824,"uuid":"437598271","full_name":"uiwebkit/localize-angular","owner":"uiwebkit","description":"Uni Localization example for Angular","archived":false,"fork":false,"pushed_at":"2022-02-07T11:39:06.000Z","size":274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-02T21:49:18.973Z","etag":null,"topics":["angular","angular-cli","custom-elements","html","languages","localization","translate","uiwebkit","uni-localization","web","web-components","widget"],"latest_commit_sha":null,"homepage":"https://uiwebkit.com/wgt/loc/2/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uiwebkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-12T16:32:47.000Z","updated_at":"2023-02-16T13:47:11.000Z","dependencies_parsed_at":"2023-04-25T18:27:05.901Z","dependency_job_id":null,"html_url":"https://github.com/uiwebkit/localize-angular","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uiwebkit/localize-angular","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-angular","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-angular/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-angular/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-angular/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiwebkit","download_url":"https://codeload.github.com/uiwebkit/localize-angular/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-angular/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32642007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-cli","custom-elements","html","languages","localization","translate","uiwebkit","uni-localization","web","web-components","widget"],"created_at":"2024-07-29T19:25:39.589Z","updated_at":"2026-05-05T08:32:17.179Z","avatar_url":"https://github.com/uiwebkit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Uni Localization example for Angular\n\nCheck out demo [here](https://uiwebkit.github.io/localize-angular/)\n\nCheck out our docs [here](https://uiwebkit.com/wgt/loc/2)\n\n### Add to your modules\n\n```ts\n@NgModule({\n  ...,\n  schemas: [CUSTOM_ELEMENTS_SCHEMA],\n  ...\n})\n```\n\n### Add to index.html\n\n```html\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/flag@0.1.1/dist/flag/flag.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/udk@2.0.0-13/dist/udk.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/mat@2.0.0-2/dist/mat.esm.js\"\u003e\u003c/script\u003e\n\u003cscript type=\"module\" src=\"https://cdn.jsdelivr.net/npm/@uiwebkit/loc@2.0.0-6/dist/loc/loc.esm.js\"\u003e\u003c/script\u003e\n```\n\n#### Place Uni Language Menu into the header of your web app. Specify the path to the language list JSON file (ex. lang-menu.json) or backend API endpoint\n\n```html\n\u003cuni-router shadow\u003e\u003c/uni-router\u003e\n\u003cuni-lang-menu-shadow mini round routing url=\"assets/json/lang-menu.json\"\u003e\u003c/uni-lang-menu-shadow\u003e\n```\n\n#### Wrap your content with Uni Translate globally (for more convenience)\n\n```html\n\u003cuni-translate\u003e\n  \u003cyour-component\u003e\u003c/your-component\u003e\n\u003c/uni-translate\u003e\n```\n\n#### or wrap your text content with Uni Translate locally (for better performance)\n\n```html\n\u003cuni-translate\u003elocalized content\u003c/uni-translate\u003e\n```\n\n#### localize partially\n\n```html\n\u003cuni-translate\u003etext and (( partially localized ))\u003c/uni-translate\u003e\n```\n\n#### localize attributes\n\n```html\n\u003cuni-translate\u003e\n  \u003ca href=\"https://your_domain/(( localized ))\"\u003elink\u003c/a\u003e\n\u003c/uni-translate\u003e\n```\n\n#### open and modify ./src/assets/json/lang-menu.json and translation files into ./src/assets/json/i18n/ folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Flocalize-angular","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiwebkit%2Flocalize-angular","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Flocalize-angular/lists"}