
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
strapi-provider-translate-libretranslate
Advanced tools
Libretranslate provider for translate plugin in Strapi 4
Configure the provider through the providerOptions:
module.exports = {
// ...
translate: {
enabled: true,
config: {
// Choose one of the available providers
provider: 'libretranslate',
// Pass credentials and other options to the provider
providerOptions: {
// your API key - required and wil cause errors if not provided
apiKey: 'key',
// api url - required
apiUrl: 'https://your.libretranslate.instance',
// maximum number of requests per minute - optional, default is `undefined` => no limit
apiMaxRPM: 60,
// maximum number of chars per request - optional, default is `undefined` => no limit
apiMaxChars: 1234,
// maximum number of texts per request
apiMaxTexts: 55,
// manually overwrite the Strapi Locale to LibreTranslate Locale mapping.
// default is the string before the `-` character for every locale
localeMap: {
'en-US': 'de',
},
},
// other options ...
},
},
// ...
}
or use the default environment variables:
LT_API_KEY
- default undefined
LT_API_URL
- default undefined
LT_API_MAX_RPM
- default undefined
LT_API_MAX_CHARS
- default undefined
LT_API_MAX_TEXTS
- default undefined
Note that environment variables take precedence over values providerOptions
. To force no limit on requests per second or maximum characters, set them to -1
FAQs
Libretranslate provider for translate plugin in Strapi 4
The npm package strapi-provider-translate-libretranslate receives a total of 30 weekly downloads. As such, strapi-provider-translate-libretranslate popularity was classified as not popular.
We found that strapi-provider-translate-libretranslate demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.