Skip to main content

FastLingo is a command-line tool designed to translate and manage app metadata within Fastlane projects.

Project description

PyPI version License: MIT PRs Welcome

FastLingo is a command-line tool designed to translate iOS app metadata using a variety of translation sources. It is built on top of Fastlane and Deliver. FastLingo is currently supports the following translation sources:

Full documentation can be found here.

Features

  • Multilingual app metadata translation.
  • Configurable translation sources.
  • Translation caching for enhanced performance and fewer API calls.
  • Seamless integration with Fastlane metadata folder structure.

Installation

To install FastLingo, execute the following command:

pip install fastlingo

Configuration

Before using FastLingo, configure your preferred translation source by establishing API keys and endpoints. Generate a template configuration file by executing:

fastlingo init

This action creates a FastLingo.toml file in the current directory, which can then be edited to include your API keys and endpoints. For example, to configure the Google Cloud Translation API, add the following to your configuration file:

translation_service = "google"
source_language = "ENGLISH"
target_languages = [ "AUTO",]
metadata_folder = "your/metadata/folder"
fields_to_translate = [ "name", "description" ]

[api_keys]
google = "service/account/key.json"

[cache]
cache_folder = ".fastlingo-cache"
cache_enabled = true

How to Use

To translate your app metadata, run:

fastlingo translate

This will translate all the metadata fields specified in your configuration file for each target language.

Contributing

Pull requests are welcome. Additions to the translation source list are encouraged.

License

FastLingo is available under the MIT license.

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

fastlingo-1.2.0.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastlingo-1.2.0-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file fastlingo-1.2.0.tar.gz.

File metadata

  • Download URL: fastlingo-1.2.0.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for fastlingo-1.2.0.tar.gz
Algorithm Hash digest
SHA256 a7deed1733b1f2754b20eea7d0bef66630afcf201597aea6d78556df75d05ec7
MD5 4d3cdd91ce6342c63953bb919c7e9251
BLAKE2b-256 43d76d690410419fef32df4e09ea1ce934b6f2266ce9fa06442777fcab0c4ec6

See more details on using hashes here.

File details

Details for the file fastlingo-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: fastlingo-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for fastlingo-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cdffe6d6281eab1cdffc96c973168629970ebaaf73773eb749fe3c236f0e2aef
MD5 f2a671725f458f1f64040fc31ee84409
BLAKE2b-256 5ee5c11a2d486c0772109fc31a7abab4291379b7ded10612e42d8d31d35c5825

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