{"id":13458458,"url":"https://github.com/sekodev/sozluk","last_synced_at":"2025-03-24T15:31:21.991Z","repository":{"id":30451126,"uuid":"34004743","full_name":"sekodev/sozluk","owner":"sekodev","description":"Sozluk(meaning 'dictionary' in Turkish) is a localization library for Solar2D (and probably LÖVE 2D).","archived":false,"fork":false,"pushed_at":"2024-09-26T12:52:24.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T04:13:56.591Z","etag":null,"topics":["dictionary","library","localization","solar2d","translation"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/sekodev.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}},"created_at":"2015-04-15T16:11:31.000Z","updated_at":"2024-09-26T12:52:42.000Z","dependencies_parsed_at":"2022-08-03T15:14:04.137Z","dependency_job_id":null,"html_url":"https://github.com/sekodev/sozluk","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/sekodev%2Fsozluk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sekodev%2Fsozluk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sekodev%2Fsozluk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sekodev%2Fsozluk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sekodev","download_url":"https://codeload.github.com/sekodev/sozluk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245298020,"owners_count":20592517,"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":["dictionary","library","localization","solar2d","translation"],"created_at":"2024-07-31T09:00:52.789Z","updated_at":"2025-03-24T15:31:16.982Z","avatar_url":"https://github.com/sekodev.png","language":"Lua","funding_links":[],"categories":["Localization"],"sub_categories":[],"readme":"## Sozluk\n\nSozluk(meaning 'dictionary' in Turkish) is a localization library for [Solar2D](https://solar2d.com/) (and probably LÖVE 2D). \n\nMain difference of this library is that it uses the power of Lua tables (files) to store localization data, instead of text or json files. This will let you easily update your games/apps over 50MB on Google Play without coping with patch files.\n\n\n## Basic instructions\n**Import library**\n```sh\nlocal Sozluk = require \"Sozluk\"\n```\n\n**Initialize Sozluk object**\n```sh\nSozluk.init()\n```\n\n**Set path of your translations folder**\n```sh\nSozluk.setTranslationFolder(\"translations\")\n```\n\n**Set translation**\n```sh\nSozluk.setSelectedTranslation(\"english\")\n```\n\n**Get string with key value**\n```sh\nSozluk.getString(\"start\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsekodev%2Fsozluk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsekodev%2Fsozluk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsekodev%2Fsozluk/lists"}