{"id":24775623,"url":"https://github.com/katsew/mlselector","last_synced_at":"2025-03-23T23:48:12.985Z","repository":{"id":12150416,"uuid":"14743962","full_name":"katsew/mlselector","owner":"katsew","description":null,"archived":false,"fork":false,"pushed_at":"2013-11-27T10:48:51.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T06:54:53.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/katsew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-27T10:28:04.000Z","updated_at":"2013-11-27T10:48:52.000Z","dependencies_parsed_at":"2022-09-23T04:40:30.192Z","dependency_job_id":null,"html_url":"https://github.com/katsew/mlselector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katsew%2Fmlselector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katsew%2Fmlselector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katsew%2Fmlselector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katsew%2Fmlselector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katsew","download_url":"https://codeload.github.com/katsew/mlselector/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186932,"owners_count":20574554,"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":[],"created_at":"2025-01-29T06:55:01.276Z","updated_at":"2025-03-23T23:48:12.938Z","avatar_url":"https://github.com/katsew.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"author: katsew  \nlicense: MIT\n\nUSAGE:  \n```\n\t$(\"your selector\").mlSelector();\n```\nOPTIONS:  \n\nmlDefault is to set default language. Which means that shows on the  \nroot directory such as \"http://example.com/example.html\"  \n\nother language will be shown on the URL like following...  \nif you choose japanese URL should be \"http://example.com/ja/example.html\"\n\n\nmlLangs is to detect languages to change with select element or browser language setting.  \nThis option should write with regular expression like \"/ja|en|zh|vi.../\".\n\n```\n\tdefaults : {\n\t  \"mlDefault\" : \"en\",\n\t  \"mlLangs\" : \"/ja|en/\"\n\t}\n\t$(\"your selector\").mlSelector({\n\t\t\t\"mlDefault\" : \"en\",\n\t\t\t\"mlLangs\" : \"/ja|en/\"\n\t});\n```\n\nMARKUP:\nYou should set the value attribute on option elements like this.\n```\n\t\u003cselect id=\"your selector\"\u003e\n\t  \u003coption value=\"ja\"\u003ejapanese\u003c/option\u003e\n\t  \u003coption value=\"en\"\u003eenglish\u003c/option\u003e\n\t\u003c/select\u003e\n```\n\n\n\nCOMPATIBLE:  \nIE+8 ( in order to use sessionStorage )  \nChrome latest  \nFirefox latest  \nSafari latest  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatsew%2Fmlselector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatsew%2Fmlselector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatsew%2Fmlselector/lists"}