
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
fastlane-plugin-translate_gpt_release_notes
Advanced tools
This project is a fastlane plugin. To get started with fastlane-plugin-translate_gpt
, add it to your project by running:
fastlane add_plugin translate_gpt_release_notes
translate-gpt-release-notes
is a fastlane plugin that allows you to translate release notes or changelogs for iOS and Android apps using OpenAI GPT API. Based on translate-gpt by ftp27.
translate-gpt-release-notes
takes the changelog file for master locale (default: en-US), detects other locales based on fastlane metadata folder structure, translates changelog to all other languages with OpenAI API and creates localized .txt changelong files in respective folders
The following example demonstrates how to use translate-gpt-release-notes
in a Fastfile
lane :translate_release_notes do
translate_gpt_release_notes(
master_locale: 'en-US',
platform: 'ios',
context: 'This is an app about cute kittens'
# other parameters...
)
end
The following options are available for translate-gpt-release-notes
:
Key | Description | Environment Variable |
---|---|---|
api_token | The API key for your OpenAI GPT account. | GPT_API_KEY |
model_name | Name of the ChatGPT model to use (default: gpt-4-1106-preview) | GPT_MODEL_NAME |
temperature | What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. Defaults to 0.5 | GPT_TEMPERATURE |
request_timeout | Timeout for the request in seconds. Defaults to 30 seconds | GPT_REQUEST_TIMEOUT |
master_locale | Master language/locale for the source texts | MASTER_LOCALE |
context | Context for translation to improve accuracy | GPT_CONTEXT |
platform | Platform for which to translate (ios or android, defaults to ios). | PLATFORM |
translate-gpt-release-notes
supports multiple authentication methods for the OpenAI GPT API:
You can provide your API key directly as an option to translate-gpt
:
translate_gpt_release_notes(
api_token: 'YOUR_API_KEY',
master_locale: 'en-US',
platform: 'ios',
context: 'This is an app about cute kittens'
)
Alternatively, you can set the GPT_API_KEY
environment variable with your API key:
export GPT_API_KEY='YOUR_API_KEY'
And then call translate-gp-release-notes
without specifying an API key:
translate_gpt_release_notes(
master_locale: 'en-US',
platform: 'ios',
context: 'This is an app about cute kittens'
)
If you have trouble using plugins, check out the Plugins Troubleshooting guide. For any other issues and feedback about this plugin, please submit it to this repository.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.
If you'd like to contribute to this plugin, please fork the repository and make your changes. When you're ready, submit a pull request explaining your changes.
This action is released under the MIT License.
FAQs
Unknown package
We found that fastlane-plugin-translate_gpt_release_notes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.