{"id":18561167,"url":"https://github.com/20scoops-cnx/csv-to-string-xml-android","last_synced_at":"2025-07-18T18:32:18.218Z","repository":{"id":122981697,"uuid":"110636748","full_name":"20Scoops-CNX/csv-to-string-xml-android","owner":"20Scoops-CNX","description":"convert file csv to format file string.xml android","archived":false,"fork":false,"pushed_at":"2019-04-29T09:05:51.000Z","size":1567,"stargazers_count":10,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T18:12:58.740Z","etag":null,"topics":["android","csv","csv-to-xml","python","xml"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/20Scoops-CNX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-11-14T03:41:02.000Z","updated_at":"2022-02-10T18:38:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"04a5a076-50ca-4a29-ac63-9fa3056a95d5","html_url":"https://github.com/20Scoops-CNX/csv-to-string-xml-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/20Scoops-CNX/csv-to-string-xml-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fcsv-to-string-xml-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fcsv-to-string-xml-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fcsv-to-string-xml-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fcsv-to-string-xml-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20Scoops-CNX","download_url":"https://codeload.github.com/20Scoops-CNX/csv-to-string-xml-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20Scoops-CNX%2Fcsv-to-string-xml-android/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265809997,"owners_count":23831945,"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","csv","csv-to-xml","python","xml"],"created_at":"2024-11-06T22:05:59.009Z","updated_at":"2025-07-18T18:32:18.193Z","avatar_url":"https://github.com/20Scoops-CNX.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csv2string-xml-android [![Build Status](https://travis-ci.org/T-Jedsada/csv2string-xml-android.svg?branch=master)](https://travis-ci.org/T-Jedsada/csv2string-xml-android)\nPython scripts converting csv file to Android strings.xml resources multiple language 🌈\n\n![string](./images/banner.png)\n\nRequirements\n------------\n\n`python version 3`\n\nTo satisfy requirements, run the following command:\n\n`$ pip install lxml`\n\nIf you are not using pip in a virtualenv and want to install lxml globally instead, you have to run the above command as admin, e.g. on Linux:\n\n`$ sudo pip install lxml`\n\nCSV Syntax\n----\n\n![string](./images/csv-example.png)\n\n* First line must have minimum 2 column [key | language-code]\n* Add `#` before string for comment message in strings.xml\n* Column `arg` is optional but if you provide it. It must be at last column\n* You can add multi column language code \n\n[file csv example](./csv-example.csv)\n\nUsage\n-----\n1. Open Terminal  :joy:\n\n2. Export path in your `.bash_profile` or `.zshrc` \n\n    `export PATH=$HOME/directory_your_download_this_project/csv-to-string-xml-android/bin:$PATH`\n\n3. Go to your directory Android Project\n    \n    `cd AndroidStudio/project_name`\n\n4. Generating *.xml files multi language\n    \n    `csv2xml`\n    \n    Continue enter your path file csv in terminal\n    \n    `Path to CSV file : \"path-file-csv/csv-example.csv\"`\n    \n    \nOutput\n-----    \n    ...\n    app\n    └── src\n        └── main\n            └── res\n                ├── values\n                │   └── strings.xml\n                └── values-de\n                │   └── strings.xml\n                └── values-ja\n                │   └── strings.xml\n                └── values-zh\n                    └── strings.xml\n\nReference\n-----\n - [x] android-resource-converter by pwittchen [link](https://github.com/pwittchen/android-resource-converter)\n \n \nLicense\n-----\n\n    Copyright 2017 Jedsada Tiwongvorakul\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20scoops-cnx%2Fcsv-to-string-xml-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20scoops-cnx%2Fcsv-to-string-xml-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20scoops-cnx%2Fcsv-to-string-xml-android/lists"}