Skip to main content

Manage Android translations using Google Spreadsheets

Project description

StringSheet

https://travis-ci.org/Tunous/StringSheet.svg?branch=master

Script for managing Android translations using Google Spreadsheets.

Usage

create

Create a new spreadsheet and automatically upload your strings.

$ stringsheet create "My project" "~/src/myproject/app/src/main/res"

Note: The path should point to the res directory of your Android project.

download

Download translations from spreadsheet.

$ stringsheet download spreadsheetId "~/src/myproject/app/src/main/res"

upload

Upload strings to existing spreadsheet.

$ stringsheet upload spreadsheetId "~/src/myproject/app/src/main/res"

Note: This command will override all strings in the spreadsheet. You should first download the spreadsheet using the previous command and commit them to your project before uploading

Features

  • Support for all string formats:

    • string

    • string-array

    • plurals

  • Automatic spreadsheet formatting durning creation:

    • Protection of informational columns and rows

    • Highlighting of missing translations with conditional formatting

  • Support for creating separate sheets for different languages (see Multi-sheet section)

Multi-sheet

The create command contains an additional argument called --multi-sheet or -m. When used the created spreadsheet will consist of multiple sheets, each for a different language.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stringsheet-0.2.1.tar.gz (12.2 kB view details)

Uploaded Source

File details

Details for the file stringsheet-0.2.1.tar.gz.

File metadata

  • Download URL: stringsheet-0.2.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stringsheet-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a9f3ffc8d9c1b8aec8c4a1353bddf6c1de503edda5a9d0cc2b74deb3f9485880
MD5 b948a267e95adcf469a3f1104a0607c4
BLAKE2b-256 320b70606c4fbbeca8141d55ce96a90437e6fba475f6d66a59dcec4617dc4826

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page