Skip to main content

Manage Android translations using Google Spreadsheets

Project description

StringSheet

https://travis-ci.org/Tunous/StringSheet.svg?branch=master https://badge.fury.io/py/stringsheet.svg

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

Installation

$ pip install stringsheet

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.2.tar.gz (11.7 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for stringsheet-0.2.2.tar.gz
Algorithm Hash digest
SHA256 c9bb7000fb489cad344b409fbc640e87ce3413e22f797dde0655086659007149
MD5 9cadc566583817337c6bbd23ae6748f1
BLAKE2b-256 ddfb201481b58e24364f6c563251c4c7c8e7a7cda1506daa27a3760ecb90381f

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