{"id":18798500,"url":"https://github.com/uiwebkit/localize-vue-2x","last_synced_at":"2026-04-20T13:34:08.563Z","repository":{"id":143122825,"uuid":"433968682","full_name":"uiwebkit/localize-vue-2x","owner":"uiwebkit","description":"Uni Localization example for Vue.js 2.x","archived":false,"fork":false,"pushed_at":"2022-02-07T12:55:22.000Z","size":469,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T12:46:56.877Z","etag":null,"topics":["custom-elements","html","localization","translation","uiwebkit","uni-localization","vue","vuejs","vuejs2","web","web-components","widget"],"latest_commit_sha":null,"homepage":"https://uiwebkit.com/wgt/loc/2/","language":"Vue","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}},"created_at":"2021-12-01T20:05:08.000Z","updated_at":"2023-02-16T13:47:11.000Z","dependencies_parsed_at":"2023-04-25T18:26:51.321Z","dependency_job_id":null,"html_url":"https://github.com/uiwebkit/localize-vue-2x","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/uiwebkit/localize-vue-2x","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-vue-2x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-vue-2x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-vue-2x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-vue-2x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uiwebkit","download_url":"https://codeload.github.com/uiwebkit/localize-vue-2x/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uiwebkit%2Flocalize-vue-2x/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32048995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["custom-elements","html","localization","translation","uiwebkit","uni-localization","vue","vuejs","vuejs2","web","web-components","widget"],"created_at":"2024-11-07T22:12:13.318Z","updated_at":"2026-04-20T13:34:08.544Z","avatar_url":"https://github.com/uiwebkit.png","language":"Vue","funding_links":[],"categories":["Components \u0026 Libraries"],"sub_categories":["Utilities"],"readme":"# Uni Localization example for Vue.js 2.x\n\nCheck out demo [here](https://uiwebkit.github.io/localize-vue-2x/)\n\nCheck out our docs [here](https://uiwebkit.com/wgt/loc/2)\n\n### Add to main.js\n\n```js\nVue.config.ignoredElements = [/uni-\\w*/];\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=\"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\u003cContentComponent/\u003e\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 ./public/lang-menu.json and translation files into ./public/i18n/ folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Flocalize-vue-2x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuiwebkit%2Flocalize-vue-2x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuiwebkit%2Flocalize-vue-2x/lists"}