Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goooler/stringresexporter
A utility designed to facilitate the export and import of string resources between Android projects and XLS files.
https://github.com/goooler/stringresexporter
android android-resources cli excel-export
Last synced: about 2 months ago
JSON representation
A utility designed to facilitate the export and import of string resources between Android projects and XLS files.
- Host: GitHub
- URL: https://github.com/goooler/stringresexporter
- Owner: Goooler
- License: apache-2.0
- Created: 2024-01-10T14:22:16.000Z (12 months ago)
- Default Branch: trunk
- Last Pushed: 2024-10-24T16:16:12.000Z (about 2 months ago)
- Last Synced: 2024-10-25T22:40:09.112Z (about 2 months ago)
- Topics: android, android-resources, cli, excel-export
- Language: Kotlin
- Homepage:
- Size: 334 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StringResExporter
StringResExporter is a utility designed to facilitate the export and import of string resources between Android projects and XLS files.
Usage
-----```sh
# Export string resources from an Android project to a XLS file.
string-res-exporter --res2xls /path/to/res /path/to/xls# Import string resources from a XLS file to an Android project.
string-res-exporter --xls2res /path/to/output.xls /path/to/res
```In the usages below, [`./src/test/resources/res`](src/test/resources/res) will be exported to `/path/to/xls/output.xls`,
which contains three sheets: [`StringRes`](src/test/resources/sheets/StringRes.csv),
[`PluralsRes`](src/test/resources/sheets/PluralsRes.csv) and [`ArrayRes`](src/test/resources/sheets/ArrayRes.csv).
If you want to import resources from a XLS file, you must use the same formatted sheets,
including the same sheet names and column names## Install
**Mac OS** or **Linux**
```sh
brew install Goooler/repo/string-res-exporter
```**Other**
Download standalone JAR from
[latest release](https://github.com/Goooler/StringResExporter/releases/latest).
On MacOS and Linux you can `chmod +x` and execute the `.jar` directly.
On Windows use `java -jar`.