{"id":23784869,"url":"https://github.com/avipars/android_app_translation","last_synced_at":"2026-05-16T00:31:46.471Z","repository":{"id":186237713,"uuid":"257692186","full_name":"avipars/Android_App_Translation","owner":"avipars","description":"This hack lets you translate your android app quite easily for 118n. ","archived":false,"fork":false,"pushed_at":"2024-12-18T12:51:44.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T13:13:08.580Z","etag":null,"topics":["android","powershell","translation"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/avipars.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"ko_fi":"aviparshan","custom":["paypal.me/AParshan","https://www.buymeacoffee.com/aviparshan"]}},"created_at":"2020-04-21T19:13:30.000Z","updated_at":"2024-12-18T12:51:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"1ff1689c-2927-463a-9722-8fd8ce843a40","html_url":"https://github.com/avipars/Android_App_Translation","commit_stats":null,"previous_names":["avipars/android_app_translation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avipars%2FAndroid_App_Translation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avipars%2FAndroid_App_Translation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avipars%2FAndroid_App_Translation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avipars%2FAndroid_App_Translation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avipars","download_url":"https://codeload.github.com/avipars/Android_App_Translation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239994734,"owners_count":19730902,"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":["android","powershell","translation"],"created_at":"2025-01-01T13:13:13.256Z","updated_at":"2026-04-12T17:30:18.870Z","avatar_url":"https://github.com/avipars.png","language":"PowerShell","funding_links":["https://ko-fi.com/aviparshan","paypal.me/AParshan","https://www.buymeacoffee.com/aviparshan"],"categories":[],"sub_categories":[],"readme":"# Android App Translation Project\nThis hack lets you translate your android app quite easily for 118n. \n\n## Tools\n\n* Powershell\n\n* Google Sheets\n\n\n### Powershell Specifics\nUsing powershell, you can export your strings.xml (english or default language) to a csv with the key and the value pair. \nIn this case the key and the string text itself. \n\nAfter going through this task, you can then upload it to google sheets (free spreadsheet solution). \nNow you can play with some formulas to use google translate to translate your string and then have it export to another strings.xml for each language. \n\nThis is hacky, because it isn't a platform within itself, and some parts may fail. \nI have a small app and couldn't find a platform to accommodate  my projects. \n\nIn the powershell script, you'll have to modify the location of the strings.xml file. \nIn my case, I didn't use the original strings file , but I would recommend you do, as the file gets changed quite frequently. \n\nThe script also doesn't include any strings that have the attribute translatable=false, but that is easy to modify.\n\n### Google Sheets Specifics\n\nHere is the google sheets, https://docs.google.com/spreadsheets/d/1m4y2_uzBchGoXwfh3aRUGX0qpa6FLo-BWqUAKvT8EZc/edit?usp=sharing \nYou just need to go to File -\u003e Make a copy\n\nRight now, you can copy the right columns, as needed to your newly created strings files in Android Studio. I am considering was to improve this whole process, and would love your feedback.\n\nIf you want to bring on volunteer translators, you could block off access to certain crucial cells or columns. Just right click on a selection and choose \"Protect range\". I'd recommend blocking off the keys and the Final values, as they really don't need to be touching those. \n\n### Possible issues\n\n* Special characters within the strings file such as '%1$s' may not resolve successfully. Before copying the strings.xml file, verify that this is not the case. \n\n#### Applications\n\n* I'm integrating this with my unitMeasure app. If you'd like to help translate the app, join the telegram group https://t.me/unitmeasure\n\n#### Credits\n\n* I took the original spreadsheet from - https://www.cumulations.com/blogs/98/android-ios-localization-using-google-sheets and improved on it\n\n### Medium Story\n\n* https://medium.com/avi-parshan-studios/android-app-translation-project-powershell-and-google-sheets-67120ee41554\n\n\u003ca href=\"https://www.buymeacoffee.com/aviparshan\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" style=\"height: 51px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favipars%2Fandroid_app_translation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favipars%2Fandroid_app_translation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favipars%2Fandroid_app_translation/lists"}