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: 9 days 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 (10 months ago)
- Default Branch: trunk
- Last Pushed: 2024-10-24T16:16:12.000Z (23 days ago)
- Last Synced: 2024-10-28T10:49:53.876Z (19 days 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
- awesome-list - Goooler/StringResExporter - A utility designed to facilitate the export and import of string resources between Android projects and XLS files. (Kotlin)
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`.