S Spwig Marketplace
Generic API
Translation Provider

Generic API

by Spwig ✓ Verified · v1.1.0
0 installs
Free

Install directly from your Spwig admin → Don't have Spwig yet?

Screenshots

About this component

Connect to any REST-based translation API. Supports configurable base URL, authentication methods, and request formats. Ideal for self-hosted translation services or custom integrations.

Versions

v1.1.0
2026-08-01

- SECURITY: requests to link-local / cloud-metadata addresses (including IPv4-mapped IPv6) are blocked and redirects are disabled; private/LAN and loopback hosts remain allowed for self-hosted backends.
- SECURITY: the API key is redacted from logged errors and never exposed in log output when query-parameter auth is used.
- Translation responses must be strings and are size-capped, so a compromised endpoint cannot return arbitrary objects or unbounded data.
- Batch translation no longer substitutes untranslated source text for a missing item (which stored source text under the target locale); it falls back to per-item requests that fail closed.

v1.0.1
2026-03-17

- Changed API Endpoint to Base URL for better multi-endpoint support
- Added batch translation support via /translate_batch endpoint
- Added health check via /health endpoint during connection test
- Added configurable translate path for non-standard APIs

v1.0.0
2026-03-17

- Initial release with configurable endpoint, auth methods, and request formats

Ready to install Generic API?

Install from your Spwig admin → Marketplace tab. Don't have a Spwig install yet? The commerce platform is free and open source.

Get Spwig → Browse more