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.
- Multilingual app metadata translation.
- Configurable translation sources.
- Translation caching for enhanced performance and fewer API calls.
- Seamless integration with Fastlane metadata folder structure.
To install FastLingo, execute the following command:
pip install fastlingo
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
To translate your app metadata, run:
fastlingo translate
This will translate all the metadata fields specified in your configuration file for each target language.
Pull requests are welcome. Additions to the translation source list are encouraged.
FastLingo is available under the MIT license.