diff --git a/documentation/docs/admin/adding-new-locale.md b/documentation/docs/admin/adding-new-locale.md index 3ccf324ae8..076f8fa1ed 100644 --- a/documentation/docs/admin/adding-new-locale.md +++ b/documentation/docs/admin/adding-new-locale.md @@ -16,7 +16,7 @@ It’s the locale code, in this case `am`. ### Google Translate code -Google Translate maintains a list of supported locales in its own format. Choose one that matches the locale from [a list of supported locales](https://translate.google.com/intl/en/about/languages/) or leave it blank to disable support for Google Translate for this locale. +Google Cloud Translation maintains a list of supported locales in its own format. Choose one that matches the locale from [the list of supported languages](https://docs.cloud.google.com/translate/docs/languages) or leave it blank to disable support for Google Cloud Translation for this locale. ### Google AutoML model diff --git a/pontoon/base/migrations/0134_alter_locale_google_translate_code.py b/pontoon/base/migrations/0134_alter_locale_google_translate_code.py new file mode 100644 index 0000000000..5d8a850f3f --- /dev/null +++ b/pontoon/base/migrations/0134_alter_locale_google_translate_code.py @@ -0,0 +1,21 @@ +# Generated by Django 5.2.15 on 2026-09-13 14:58 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("base", "0133_alter_locale_script"), + ] + + operations = [ + migrations.AlterField( + model_name="locale", + name="google_translate_code", + field=models.CharField( + blank=True, + help_text='\n Google Cloud Translation maintains its own list of\n \n supported languages. Choose a matching locale from the list or leave blank to disable\n support for Google Cloud Translation machine translation service.\n ', + max_length=20, + ), + ), + ] diff --git a/pontoon/base/models/locale.py b/pontoon/base/models/locale.py index 1b2b88acac..fc0f23ee2b 100644 --- a/pontoon/base/models/locale.py +++ b/pontoon/base/models/locale.py @@ -142,9 +142,9 @@ def aggregated_stats_query(self): max_length=20, blank=True, help_text=""" - Google Translate maintains its own list of - - supported locales. Choose a matching locale from the list or leave blank to disable + Google Cloud Translation maintains its own list of + + supported languages. Choose a matching locale from the list or leave blank to disable support for Google Cloud Translation machine translation service. """, )