discourse-translator/config/locales/server.en.yml
Natalie Tay bf3ae8705b
UX: Show extra details in failure popup when translation fails (#262)
When we translate a newly created topic (therefore topic title and post content), we send both title and cooked in separately. There is a chance that the title cannot be translated, but the post can be translated. The error does not make it obvious on which content the error is happening. 

This commit makes it precise to the reader if it is the "topic's title" or "post's content".
2025-03-28 13:24:32 +08:00

51 lines
4 KiB
YAML

en:
site_settings:
translator_enabled: "Enable the translator plugin."
translator_provider: "The provider of the translation service."
translator_azure_subscription_key: "Azure Subscription Key"
translator_azure_region: "Azure Region"
translator_google_api_key: "Google API Key"
translator_yandex_api_key: "Yandex API Key"
max_characters_per_translation: "The maximum number of characters that can be sent for translation. If content is longer than this, text will be truncated. Note that each provider also has their own limits."
max_translations_per_minute: "The number of translations per minute a regular user can perform."
translator_libretranslate_endpoint: "LibreTranslate API Endpoint"
translator_libretranslate_api_key: "LibreTranslate API Key"
translator_aws_region: "AWS Region"
translator_aws_key_id: "AWS Key ID"
translator_aws_secret_access: "AWS secret access key"
translator_aws_iam_role: "AWS IAM Role"
translator_azure_custom_subdomain: "Required if using a Virtual Network or Firewall for Azure Cognitive Services. Note: Only enter the custom subdomain not the full custom endpoint."
restrict_translation_by_group: "Only allowed groups can translate"
restrict_translation_by_poster_group: "Only allow translation of posts made by users in allowed groups. If empty, allow translations of posts from all users."
experimental_anon_language_switcher: "Enable experimental language switcher. This will allow site visitors who are not logged in to switch between translated versions of Discourse and user-contributed content in topics."
errors:
needs_nonzero_backfill: "Automatic language translation requires the 'automatic_translation_backfill_rate' hidden setting to be a non-zero value. Please approach your site administrator to increase this limit."
experimental_anon_language_switcher_requirements: "The experimental language switcher requires the `set locale from cookie` site setting to be enabled, and the `automatic translation target languages` to have at least one language."
experimental_inline_translation: "Enable experimental inline translation feature. This replaces existing parallel translation, allowing site visitors with a non-default locale to view content in their language."
automatic_translation_target_languages: "The languages to automatically translate user content (posts, topics) to. If empty, no languages will be automatically translated."
translator:
failed:
topic: "The translator is unable to translate this topic's title (%{source_locale}) to your language (%{target_locale})."
post: "The translator is unable to translate this post's content (%{source_locale}) to your language (%{target_locale})."
not_supported: "This language is not supported by the translator."
too_long: "This post is too long to be translated by the translator."
not_available: "The translator service is currently not available."
api_timeout: "The translator service took too long to respond. Please try again later."
amazon:
invalid_credentials: "The provided credentials for AWS translate are invalid."
microsoft:
missing_token: "The translator was unable to retrieve a valid token."
missing_key: "No Azure Subscription Key provided."
discourse_ai:
not_installed: "You need to install the discourse-ai plugin to use this feature."
ai_helper_required: 'You need to <a href="%{base_url}/admin/site_settings/category/all_results?filter=plugin%3Adiscourse-ai%20helper">configure the ai helper</a> to use this feature.'
not_in_group:
user_not_in_group: "You don't belong to a group allowed to translate."
poster_not_in_group: "Post wasn't made by an user in an allowed group."
dashboard:
problem:
missing_translator_api_key: "%{provider} was used as the translator, but no %{key} was provided. See <a href=\"/admin/site_settings/category/discourse_translator?filter=%{key_name}\">site settings</a>."
translator_error: "%{provider} reported a translation error with code %{code}: %{message}"