{"id":21216908,"url":"https://github.com/lablnet/javascript-language-selector","last_synced_at":"2025-11-08T01:03:26.306Z","repository":{"id":53595829,"uuid":"202645919","full_name":"lablnet/Javascript-Language-Selector","owner":"lablnet","description":"Create your frontend website in multiple languages by using this class.","archived":false,"fork":false,"pushed_at":"2023-06-07T15:25:03.000Z","size":8,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-29T21:05:47.512Z","etag":null,"topics":["class","free","frontend","javascript","js","language","mit","plugin","selector","websitem"],"latest_commit_sha":null,"homepage":"https://lablnet.github.io/Javascript-Language-Selector/","language":"JavaScript","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/lablnet.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":"2019-08-16T02:41:08.000Z","updated_at":"2024-11-10T09:58:10.000Z","dependencies_parsed_at":"2024-11-20T21:56:24.274Z","dependency_job_id":"75cb8a2d-b59a-4438-b44d-f177f46366d1","html_url":"https://github.com/lablnet/Javascript-Language-Selector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lablnet/Javascript-Language-Selector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FJavascript-Language-Selector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FJavascript-Language-Selector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FJavascript-Language-Selector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FJavascript-Language-Selector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lablnet","download_url":"https://codeload.github.com/lablnet/Javascript-Language-Selector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FJavascript-Language-Selector/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264573285,"owners_count":23630457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["class","free","frontend","javascript","js","language","mit","plugin","selector","websitem"],"created_at":"2024-11-20T21:56:19.460Z","updated_at":"2025-11-08T01:03:26.231Z","avatar_url":"https://github.com/lablnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Javascript Langauge Selector\n\nCreate your frontend website in multiple languages by using this class.\n\n### Features\n- Simple but yet powerful.\n- Enable RTL automatically.\n- Super fast.\n- Much more...\n\n### Demo\n- [https://lablnet.github.io/Javascript-Language-Selector/](https://lablnet.github.io/Javascript-Language-Selector/)\n\n### Requirement\n- Jquery\n\n### How to use?\n\n- Just download this code or clone\n\t- ``` \n\t\tgit clone https://github.com/Lablnet/Javascript-Language-Selector.git```\n- Include the `js` file in `head` section of your page\n\t- ```html \n\t\t\u003cscript src=\"js/LanguageSelector.min.js\"\u003e\u003c/script\u003e\t\n\t- Make sure jquery is included in your page\n\n- Load the language file which contain json data\n\t- ```html \n\t\t\u003cscript src=\"locale.js\"\u003e\u003c/script\u003e\n\t\t```\n\t\t\n\t  - The `locale.js` file contains language strings something like\n\t- ```js lang = {\n\t\t\t'en': {\n\t\t\t\t':heading': 'Javascript Language Selector',\n\t\t\t\t':h2': 'This is the sub heading',\n\t\t\t\t':first:p': \"Hey! this is the javascript language selector\",\n\t\t\t\t':english': 'English',\n\t\t\t\t':urdu': 'Urdu',\n\t\t\t\t':portuguese': 'Portuguese',\n\t\t\t\t':choose': 'Choose the language',\n\t\t\t},\n\t\t}\n- Now write your markup/html\n\t- ```html\n\t\t\u003ch1\u003e:heading\u003c/h1\u003e\n\t\t\u003ch3\u003e:h2\u003c/h3\u003e\n\t\t\u003cp\u003e:first:p\u003c/p\u003e\n- Parse language\n\t- ```js\n\t\tvar l = new LanguageSelector();\n\t\tl.parse();\t\n- That's all.\n\n\n### LICENSE\n- MIT\n\n### Author\n[Muhammad Umer Farooq](https://lablnet.github.io/profile/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablnet%2Fjavascript-language-selector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flablnet%2Fjavascript-language-selector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablnet%2Fjavascript-language-selector/lists"}