discourse-translator/config/locales/server.en.yml
Natalie Tay 2bc1c4b803
DEV: Remove the anon language switcher and update settings (#308)
The anon language switcher feature is moving to core, so we are removing it from this plugin.

Similarly, in https://github.com/discourse/discourse/pull/32920, we introduced `experimental_content_localization_supported_locales`, but there was a borked migration that copies `automatic_translation_target_languages` (from this plugin) to `experimental_content_localization_supported_locales` (core) - the migration was a no-op. Language switcher relies on old setting, so it was good it was borked. This PR also adds a migration to do a rename as the old setting will not be used any more.

/t/154911
2025-05-29 11:37:12 +08:00

45 lines
3 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."
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}"