{"id":20590046,"url":"https://github.com/doist/android-translations-check","last_synced_at":"2025-07-07T21:06:28.519Z","repository":{"id":44656758,"uuid":"317819000","full_name":"Doist/android-translations-check","owner":"Doist","description":"Android translations check Gradle plugin","archived":false,"fork":false,"pushed_at":"2025-06-23T09:24:41.000Z","size":82,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-23T10:29:25.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/Doist.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":"2020-12-02T09:57:41.000Z","updated_at":"2025-06-23T09:24:43.000Z","dependencies_parsed_at":"2024-11-16T07:34:05.568Z","dependency_job_id":"8ea58da9-f71e-49eb-9f74-2ef68865c751","html_url":"https://github.com/Doist/android-translations-check","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Doist/android-translations-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Fandroid-translations-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Fandroid-translations-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Fandroid-translations-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Fandroid-translations-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Doist","download_url":"https://codeload.github.com/Doist/android-translations-check/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doist%2Fandroid-translations-check/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264147130,"owners_count":23564217,"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-16T07:33:46.863Z","updated_at":"2025-07-07T21:06:28.452Z","avatar_url":"https://github.com/Doist.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android Translations Check Gradle Plugin\n\nThis Gradle plugin checks Android project translation strings. \n\nIn Android project strings included in alternative resources (i.e. `/src/main/res/values-pl/`) must \nmatch default strings located in `/src/main/res/values/`. If the number of arguments or number of\nentries in string-array is not the same, your app will likely crash. \n\nThis plugin checks if all translation strings match original ones. It will check strings included \nin:\n- `\u003cstring name=\"...\"\u003e...\u003c/\u003e`\n- `\u003cplurals name=\"...\"\u003e...\u003c/\u003e`\n- `\u003cstring-array name=\"...\"\u003e...\u003c/\u003e`\n\n## How to use it 👣\n\nInclude (but don't apply) the plugin and specify the version in your root `build.gradle.kts` file:\n\n```\nplugins {\n    id(\"com.doist.gradle.android-translations-check\") version \"\u003clatest-version\u003e\" apply false\n}\n```\n\nAnd include the plugin in all `build.gradle.kts` modules with strings:  \n```\nplugins {\n    id(\"com.doist.gradle.android-translations-check\")\n}\n```\n\nThis plugin adds the `checkAndroidTranslations` Gradle task, so to check all translation strings,\nrun:\n```\n./gradlew checkAndroidTranslations\n``` \n\n## Configuration ⚙️\n\nThe plugin runs without any configurations but in case you use any custom library for string \nformatting like [Phrase](https://github.com/square/phrase) you can customize arguments regex. To do \nthis, include the following in your module `build.gradle.kts` file:\n```\ncheckAndroidTranslationsConfig {\n    argumentRegex.set(\"\"\"(?:%(?:[1-9]\\$)?[sd%])|(?:\\{[a-z_]+})\"\"\")\n}\n``` \n\n## Contributing 🤝\n\nFeel free to open an issue or submit a pull request for any bugs/improvements.\n\n## Acknowledgements 🙏\nThis plugin is based on [kotlin-gradle-plugin-template 🐘](https://github.com/cortinico/kotlin-gradle-plugin-template)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Fandroid-translations-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoist%2Fandroid-translations-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoist%2Fandroid-translations-check/lists"}