How to localize the Gmail add-on header name in the manifest file (appscript.json)?

117 views Asked by At

I am developing a Gmail add-on with multi language support. I need to localized the addon's header name. Header name is presented in the manifest file. I was not able to figure out a way to localized the addon's header name to user's language. Is it possible to localizes the header name? Can anyone help me to solve this issue?

Add-on header

This is how my manifest looks like,

{
  "oauthScopes": [
    "https://www.googleapis.com/auth/gmail.addons.current.action.compose",
    "https://www.googleapis.com/auth/gmail.addons.current.message.metadata",
    "https://www.googleapis.com/auth/gmail.addons.execute",
    "https://www.googleapis.com/auth/script.external_request",
    "https://www.googleapis.com/auth/gmail.addons.current.message.readonly",
    "https://www.googleapis.com/auth/userinfo.email",
    "https://www.googleapis.com/auth/script.locale"
  ],
  "urlFetchWhitelist": [
    "https://abcd.com/"
  ],
  "runtimeVersion": "V8",
  "gmail": {
    "name": "Add-on name",
    "logoUrl": "https://abcd.com/gmail/assets/logo_32x32.png",
    "contextualTriggers": [
      {
        "unconditional": {},
        "onTriggerFunction": "buildAddon"
      }
    ],
    "primaryColor": "#4285F4",
    "secondaryColor": "#4d90fe",
    "openLinkUrlPrefixes": [
      "https://abcd.com/"
    ],
    "useLocaleFromApp": true
  },
  "exceptionLogging": "STACKDRIVER"
}
0

There are 0 answers