| # Copyright 2015 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| # |
| # This is a .pyl, or "Python Literal", file. You can treat it just like a |
| # .json file, with the following exceptions: |
| # * all keys must be quoted (use single quotes, please); |
| # * comments are allowed, using '#' syntax; and |
| # * trailing commas are allowed. |
| # |
| # Specifies which grd files should be translated and into which languages they |
| # should be translated. Used by the internal translation process. |
| { |
| "desktop_grds": { |
| "languages": [ |
| "af", "am", "ar", "as", "az", "be", "bg", "bn", "bs", "ca", "cs", "cy", |
| "da", "de", "el", "en-GB", "es", "es-419", "et", "eu", "fa", "fi", "fil", |
| "fr", "fr-CA", "gl", "gu", "hi", "hr", "hu", "hy", "id", "is", "it", "iw", |
| "ja", "ka", "kk", "km", "kn", "ko", "ky", "lo", "lt", "lv", "mk", "ml", |
| "mn", "mr", "ms", "my", "ne", "nl", "no", "or", "pa", "pl", "pt-BR", |
| "pt-PT", "ro", "ru", "si", "sk", "sl", "sq", "sr", "sr-Latn", "sv", "sw", |
| "ta", "te", "th", "tr", "uk", "ur", "uz", "vi", "zh-CN", "zh-HK", "zh-TW", |
| "zu", |
| ], |
| "files": [ |
| "android_webview/java/strings/android_webview_strings.grd", |
| "ash/ash_strings.grd", |
| "ash/shortcut_viewer/shortcut_viewer_strings.grd", |
| "ash/webui/camera_app_ui/resources/strings/camera_strings.grd", |
| "chrome/android/features/keyboard_accessory/internal/java/strings/android_keyboard_accessory_strings.grd", |
| "chrome/android/features/tab_ui/java/strings/android_chrome_tab_ui_strings.grd", |
| "chrome/android/webapk/strings/android_webapk_strings.grd", |
| "chrome/app/chromium_strings.grd", |
| "chrome/app/generated_resources.grd", |
| "chrome/app/google_chrome_strings.grd", |
| "chrome/browser/password_check/android/internal/java/strings/android_password_check_strings.grd", |
| "chrome/browser/readaloud/android/resources/android_readaloud_strings.grd", |
| "chrome/browser/resources/accessibility/strings/extension_strings.grd", |
| "chrome/browser/resources/chromeos/accessibility/strings/accessibility_strings.grd", |
| "chrome/browser/recent_tabs/internal/android/java/strings/android_restore_tabs_strings.grd", |
| "chrome/browser/touch_to_fill/password_manager/android/internal/java/strings/android_touch_to_fill_strings.grd", |
| "chrome/browser/ui/android/fast_checkout/internal/java/strings/android_fast_checkout_strings.grd", |
| "chrome/browser/ui/android/strings/android_chrome_strings.grd", |
| "chrome/credential_provider/gaiacp/gaia_resources.grd", |
| "chromeos/chromeos_strings.grd", |
| "components/autofill/android/java/strings/autofill_strings.grd", |
| "components/browser_ui/strings/android/browser_ui_strings.grd", |
| "components/components_chromium_strings.grd", |
| "components/components_google_chrome_strings.grd", |
| "components/components_strings.grd", |
| "components/embedder_support/android/java/strings/web_contents_delegate_android_strings.grd", |
| "components/javascript_dialogs/android/javascript_dialogs_android_strings.grd", |
| "components/media_router/browser/android/java/strings/android_chrome_media_router_strings.grd", |
| "components/permissions/android/permissions_android_strings.grd", |
| "components/webapps/browser/android/android_webapps_strings.grd", |
| "content/public/android/java/strings/android_content_strings.grd", |
| "device/bluetooth/bluetooth_strings.grd", |
| "device/fido/fido_strings.grd", |
| "extensions/strings/extensions_strings.grd", |
| "ios/chrome/app/strings/ios_chromium_strings.grd", |
| "ios/chrome/app/strings/ios_google_chrome_strings.grd", |
| "ios/chrome/app/strings/ios_strings.grd", |
| "ios/chrome/browser/ui/whats_new/strings/ios_whats_new_strings.grd", |
| "ios/chrome/credential_provider_extension/strings/ios_credential_provider_extension_strings.grd", |
| "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_chromium_strings.grd", |
| "ios/chrome/content_widget_extension/strings/ios_content_widget_extension_google_chrome_strings.grd", |
| "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_chromium_strings.grd", |
| "ios/chrome/search_widget_extension/strings/ios_search_widget_extension_google_chrome_strings.grd", |
| "ios/chrome/share_extension/strings/ios_share_extension_strings.grd", |
| "ios/chrome/open_extension/strings/ios_open_extension_chromium_strings.grd", |
| "ios/chrome/open_extension/strings/ios_open_extension_google_chrome_strings.grd", |
| "ios/chrome/widget_kit_extension/strings/ios_widget_kit_extension_strings.grd", |
| "remoting/resources/remoting_strings.grd", |
| "services/services_strings.grd", |
| "third_party/libaddressinput/chromium/address_input_strings.grd", |
| "third_party/blink/public/strings/blink_accessibility_strings.grd", |
| "third_party/blink/public/strings/blink_strings.grd", |
| "ui/accessibility/extensions/strings/accessibility_extensions_strings.grd", |
| "ui/android/java/strings/android_ui_strings.grd", |
| "ui/chromeos/ui_chromeos_strings.grd", |
| "ui/strings/ax_strings.grd", |
| "ui/strings/ui_strings.grd", |
| ], |
| }, |
| # The policy_templates are translated only into a subset of the languages. |
| "policy_templates_grds": { |
| "languages": [ |
| "de", "es", "es-419", "fr", "id", "it", "ja", "ko", "nl", "pt-BR", "ru", |
| "th", "tr", "uk", "vi", "zh-CN", "zh-TW", |
| ], |
| "files": [ |
| "components/policy/resources/policy_templates.grd", |
| ], |
| }, |
| # The omnibox_pedal_synonyms are translated only into a subset of the languages. |
| # Note, the list here must match the <translations> list in |
| # components/omnibox/resources/omnibox_pedal_synonyms.grd or TC pipeline breaks. |
| # Note also, omnibox_pedal_synonyms_translation_languages in google3 |
| # googleclient/chrome/transconsole_resources/BUILD should be updated |
| # before changing this list or another phase of TC pipeline breaks. |
| "omnibox_pedal_synonyms_grd": { |
| "languages": [ |
| "am", "ar", "bg", "bn", "ca", "cs", "da", "de", "el", "en", "en-GB", "es", |
| "es-419", "et", "fa", "fi", "fil", "fr", "gu", "he", "hi", "hr", "hu", |
| "id", "it", "ja", "kn", "ko", "lt", "lv", "ml", "mr", "ms", "nl", "pl", |
| "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", "sr", "sv", "sw", "ta", "te", |
| "th", "tr", "uk", "vi", "zh-CN", "zh-TW", |
| ], |
| "files": [ |
| "components/omnibox/resources/omnibox_pedal_synonyms.grd", |
| ], |
| }, |
| # Grd files that contain <message> or <translations> elements, but that |
| # shouldn't be translated as part of the normal translation process. Each |
| # entry needs an explanation for why it shouldn't be translated. |
| "untranslated_grds": { |
| "chrome/app/resources/locale_settings.grd": "Not UI strings; localized separately", |
| "chrome/app/resources/locale_settings_chromiumos.grd": "Not UI strings; localized separately", |
| "chrome/app/resources/locale_settings_google_chromeos.grd": "Not UI strings; localized separately", |
| "chrome/app/resources/locale_settings_linux.grd": "Not UI strings; localized separately", |
| "chrome/app/resources/locale_settings_mac.grd": "Not UI strings; localized separately", |
| "chrome/app/resources/locale_settings_win.grd": "Not UI strings; localized separately", |
| "chromecast/app/resources/chromecast_settings.grd": "Not UI strings; localized separately", |
| "components/components_locale_settings.grd": "Not UI strings; localized separately", |
| "components/search_engine_descriptions_strings.grd": "The strings are already translated when provided", |
| "components/policy/resources/policy_templates.build.grd": "Copy of policy_templates.grd used locally for build only", |
| "tools/grit/grit/testdata/allowlist_resources.grd": "Test data", |
| "tools/grit/grit/testdata/allowlist_strings.grd": "Test data", |
| "tools/grit/grit/testdata/buildinfo.grd": "Test data", |
| "tools/grit/grit/testdata/chrome/app/generated_resources.grd": "Test data", |
| "tools/grit/grit/testdata/substitute.grd": "Test data", |
| "tools/grit/grit/testdata/substitute_no_ids.grd": "Test data", |
| "tools/grit/grit/testdata/substitute_tmpl.grd": "Test data", |
| "tools/translation/testdata/not_translated.grd": "Test data", |
| "tools/translation/testdata/test.grd": "Test data", |
| "tools/translation/testdata/unlisted.grd": "Test data", |
| "ui/base/test/ui_base_test_resources.grd": "Test data", |
| "ui/strings/app_locale_settings.grd": "Not UI strings; localized separately", |
| "ui/views/examples/views_examples_resources.grd": "Test data", |
| "ui/webui/examples/resources/webui_examples_resources.grd": "Test data", |
| }, |
| # Internal grds that contain parts not available publicly and thus should |
| # not be checked by translation script. |
| "internal_grds": [ |
| # Test grd that contains a part file that doesn't exist. |
| "tools/translation/testdata/internal.grd", |
| ], |
| } |