{"id":20852898,"url":"https://github.com/okturtles/strings","last_synced_at":"2025-05-12T05:30:59.119Z","repository":{"id":50599181,"uuid":"245878625","full_name":"okTurtles/strings","owner":"okTurtles","description":"Powerful and simple localization utility for web applications","archived":false,"fork":false,"pushed_at":"2024-04-06T14:20:49.000Z","size":2098,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T00:51:12.445Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"OCaml","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/okTurtles.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}},"created_at":"2020-03-08T19:56:41.000Z","updated_at":"2023-08-10T15:57:28.000Z","dependencies_parsed_at":"2024-04-06T15:24:24.877Z","dependency_job_id":"612a137f-8fb1-45a6-8a05-7927634dc41d","html_url":"https://github.com/okTurtles/strings","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okTurtles%2Fstrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okTurtles%2Fstrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okTurtles%2Fstrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okTurtles%2Fstrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okTurtles","download_url":"https://codeload.github.com/okTurtles/strings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253681925,"owners_count":21946835,"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":"2024-11-18T03:19:13.098Z","updated_at":"2025-05-12T05:30:55.989Z","avatar_url":"https://github.com/okTurtles.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# String Extractor\n\nThe String Extractor is a program that runs on your computer to help manage translations.\n\n## Help translate a language\nYou can contribute by directly making changes to the `.strings` file for the language of your choice. Those files are located in the `strings/` directory. If the language of your choice is not present yet, follow the instructions in [Add a language](#Add-a-language).\n\nFeel free to make edits directly on Github!\n\nExample (`french.strings`):\n\n**before**\n```\n/* MISSING TRANSLATION - frontend/views/pages/Home.vue */\n\"Logout\" = \"Logout\";\n\n/* MISSING TRANSLATION - frontend/views/containers/contributions/ContributionsWidget.vue */\n\"You and {count} other members are contributing.\" = \"You and {count} other members are contributing.\";\n```\n\n**after**\n```\n/* frontend/views/pages/Home.vue */\n\"Logout\" = \"Déconnexion\";\n\n/* frontend/views/containers/contributions/ContributionsWidget.vue */\n\"You and {count} other members are contributing.\" = \"Vous, ainsi que {count} autres membres, contribuez.\";\n```\nNotes:\n- The original English text is on the left and must not be changed.\n- Removing `MISSING TRANSLATION` is not necessary.\n- Text is enclosed within double quotes.\n- Do not modify text enclosed within `{` and `}`, but you can move it.\n- To represent the double quote character itself (`\"`), use `\\\"`.\n- To represent the backslash character itself (`\\`), use `\\\\`.\n\n## Add a language\n\n1. Make a copy of `english.strings` and rename it to e.g. `french.strings`\n2. Start translating `french.strings`!\n\n## Developers\n\nDownload the latest version of the String Extractor [here](https://github.com/okTurtles/strings/releases).\n\nPlace it at the root of the repository.\n\nSimply run it before submitting a Pull Request!\n```sh\n# MacOS\n./strings.mac src/\n# getting a 'code cannot be verified' error? Run this:\n# xattr -d com.apple.quarantine strings.mac\n\n# Linux\ntar xzvf strings.linux.tar.gz # unzip\n./strings.linux src/\n```\n- **MacOS**: Monterey or newer\n- **Linux** and **WSL**\n  - Ubuntu 20.04 or newer\n  - Debian 11 (Bullseye) or newer\n  - You'll need to install your Linux distribution's `musl` package: `apt-get install musl`\n  - Make sure the `lib` directory stays in the same directory as `strings.linux`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokturtles%2Fstrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokturtles%2Fstrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokturtles%2Fstrings/lists"}