LibreTranslate icon

LibreTranslate

Interact with LibreTranslate API for translation services

Actions6

Overview

This node interacts with the LibreTranslate API to provide translation-related services. Specifically, for the 'Language' resource and 'Get Languages' operation, it fetches a list of supported languages from the LibreTranslate service. This is useful for users who want to dynamically retrieve available languages for translation tasks, ensuring their workflows use valid language codes.

Use Case Examples

  1. A user wants to populate a dropdown with supported languages for translation in a workflow.
  2. A workflow needs to verify if a target language is supported before attempting translation.

Output

JSON

  • languages - Array of supported languages returned by the LibreTranslate API

Dependencies

  • Requires an API key credential for LibreTranslate API access.

Troubleshooting

  • If the API key is missing or invalid, the node will throw an authentication error. Ensure the API key credential is correctly configured.
  • Network issues or incorrect API URL can cause request failures. Verify the LibreTranslate API endpoint URL in the credentials.
  • If the API response format changes, the node might fail to parse the languages list correctly.

Links

Discussion