{"id":22071555,"url":"https://github.com/rickykaare/csvtrans","last_synced_at":"2025-07-24T10:33:07.847Z","repository":{"id":194244726,"uuid":"172085553","full_name":"rickykaare/csvtrans","owner":"rickykaare","description":"Translation tools using Google Sheet/CSV as source","archived":false,"fork":false,"pushed_at":"2019-06-25T07:10:30.000Z","size":55,"stargazers_count":11,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T16:47:27.551Z","etag":null,"topics":["csv","google-sheets","resx","translation"],"latest_commit_sha":null,"homepage":"","language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rickykaare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-02-22T15:04:00.000Z","updated_at":"2023-07-25T14:23:51.000Z","dependencies_parsed_at":"2023-09-12T14:27:33.329Z","dependency_job_id":null,"html_url":"https://github.com/rickykaare/csvtrans","commit_stats":null,"previous_names":["rickykaare/csvtrans"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickykaare%2Fcsvtrans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickykaare%2Fcsvtrans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickykaare%2Fcsvtrans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickykaare%2Fcsvtrans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickykaare","download_url":"https://codeload.github.com/rickykaare/csvtrans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227427675,"owners_count":17775817,"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":["csv","google-sheets","resx","translation"],"created_at":"2024-11-30T20:32:14.904Z","updated_at":"2024-11-30T20:32:15.346Z","avatar_url":"https://github.com/rickykaare.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csvtrans\n_Tool for building translations from Google Sheet_\n\n[![Build Status](https://dev.azure.com/rickykaare/csvtrans/_apis/build/status/csvtrans-ci?branchName=master)](https://dev.azure.com/rickykaare/csvtrans/_build/latest?definitionId=2\u0026branchName=master) [![NuGet](https://img.shields.io/nuget/dt/csvtrans.svg?style=flat-square)](http://www.nuget.org/packages/csvtrans) [![NuGet](https://img.shields.io/nuget/v/csvtrans.svg?style=flat-square)](http://www.nuget.org/packages/csvtrans)\n\nThe idea behind the tool is to read translations from a Google Sheet and output them as string resources for iOS or Android. \n\n### Installation\nTool can be installed using the command\n\n    dotnet tool install -g csvtrans\n    \n### Input\nThe tool supports the following input sources:\n\n- A local CSV file\n- An online CSV source\n- A Google Sheet\n\nThe column headers in the input identifies the target languages (e.g. en, en-US, da-DK etc.) with the following special columns:\n\n|Column Name |Purpose |\n|------------|--------|\nKey|Mandatory identifier for the string\nComment|Optional comment for the trasnslation\nDefault|Optional default value\n\nAn example sheet can be found here: [SampleTranslations](https://docs.google.com/spreadsheets/d/1SpSu13Gtk8aBsGK4b-iRK4wmmTtywx3twN1yABAVTOA/edit?usp=sharing)\n\n### Output\nSupported outputs are:\n\n- Apple string resources (iOS)\n- Android string resources\n- Json dictionary\n- Resx resources\n\n### CLI interface\n\n    USAGE: csvtrans [--help] [--sheet \u003cdocument id\u003e \u003csheet name\u003e]\n                    [--csv \u003curl or path\u003e] [--format \u003capple|android|resx\u003e]\n                    [--outputdir \u003cdirectory path\u003e] [--name \u003cstring\u003e]\n                    [--convert-placeholders \u003cregex pattern\u003e]\n\n    OPTIONS:\n\n        --sheet, -s \u003cdocument id\u003e \u003csheet name\u003e\n                              specify a Google Sheet as input.\n        --csv, -c \u003curl or path\u003e\n                              specify a online or local cvs file as input.\n        --format, -f \u003capple|android|resx\u003e\n                              specify the output format.\n        --outputdir, -o \u003cdirectory path\u003e\n                              specify the output directory.\n        --name, -n \u003cstring\u003e   specify an optional name for the output.\n        --convert-placeholders, -p \u003cregex pattern\u003e\n                              convert placeholders to match the output format.\n        --help                display this list of options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickykaare%2Fcsvtrans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickykaare%2Fcsvtrans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickykaare%2Fcsvtrans/lists"}