{"id":27223570,"url":"https://github.com/r-dent/localizationsync","last_synced_at":"2026-03-05T15:32:51.798Z","repository":{"id":62576560,"uuid":"207774505","full_name":"r-dent/LocalizationSync","owner":"r-dent","description":"A python script that generates localization files for iOS and Android from a public GoogleSheet.","archived":false,"fork":false,"pushed_at":"2022-10-31T21:24:45.000Z","size":234,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-14T23:24:48.241Z","etag":null,"topics":["android","data-sync","google-sheet","gsheets","ios","l10n","localization","pip","pypi","python","python-package","python-script","scripting"],"latest_commit_sha":null,"homepage":"","language":"Python","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/r-dent.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":"2019-09-11T09:30:10.000Z","updated_at":"2022-10-31T21:24:24.000Z","dependencies_parsed_at":"2022-11-03T19:03:49.130Z","dependency_job_id":null,"html_url":"https://github.com/r-dent/LocalizationSync","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dent%2FLocalizationSync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dent%2FLocalizationSync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dent%2FLocalizationSync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-dent%2FLocalizationSync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-dent","download_url":"https://codeload.github.com/r-dent/LocalizationSync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190497,"owners_count":21062284,"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","data-sync","google-sheet","gsheets","ios","l10n","localization","pip","pypi","python","python-package","python-script","scripting"],"created_at":"2025-04-10T09:09:27.583Z","updated_at":"2026-03-05T15:32:51.788Z","avatar_url":"https://github.com/r-dent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Localization Sync\nThis is a python script that downloads localization strings and CI color information from a public [Google Sheet](https://docs.google.com/spreadsheets) and generates resource files for iOS and Android projects.\n\n![Vizualization of the workflow](Resources/workflow.jpg)\n\n## Installation\n\nThis uses the [pip](https://packaging.python.org/en/latest/key_projects/#pip) package manager for Python packages ([see guide](https://packaging.python.org/en/latest/tutorials/installing-packages/)). It depends on the [pyexcel-ods](https://pypi.org/project/pyexcel-ods/) package which will be installed alongsite automatically when you run:\n\n    pip install localization-sync\n\nHint: It could be that you need to use `pip3` command instead of `pip`.\n\n## Prerequisites\n\n### 1. Create a Google Sheet\n\nCreate a Google Sheet document with sheets like [these](https://docs.google.com/spreadsheets/d/1672QPWDsxBtaX5hc5QgZhqBwLADMnPVEv7-wLB3g-ug):\n\n![Example of a L10n table](Resources/sheet_l10n.png)\n![Example of a colors table](Resources/sheet_colors.png)\n\nMind to __not__ add extra columns or rows at the top/left of your tables. I you need to do so, use `keyRow`/`keyColumn` parameters in config to inset the parsing of the table.\n\n### 2. Publish\n\nPublish the sheeet to the web by pressing __File -\u003e Publish to the web__. Select __Whole Document__ and __Website__. This enables the script do export the contents of the sheet as ODS file.\n\n_Note_: We are using the export instead of the JSON API. Because this way there is no need for creating an API Key and using OAuth on the client (your) side.\n\n### 3. Get the ID\n\nFind the ID of your document by copying it from your browsers address bar.\n\n![sheet_url.png](Resources/sheet_url.png)\n\n## Usage\n\nCreate a `data_sync.config.json` in your project and populate it with the contents of the [example config](data_sync.config.json). Replace the `sheetId` with your own. You can modify the other settings to fit the needs of your project.\n\nThen open a terminal at your project path and run `l10n_sync`. Look for your newly created resource files.\n\nYou can also copy [data_sync.py](Sources/data_sync.py) to your project and then run `python3 data_sync.py` when your config file is ready.\n\n## Example\n\nHave a look into the [Output folder](Output) for some example files generated by using the provided [configuration file](data_sync.config.json).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-dent%2Flocalizationsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-dent%2Flocalizationsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-dent%2Flocalizationsync/lists"}