La Touche Musicale
La Touche Musicale

Reputation: 1

Google Chrome Web Store Extension - Internationalization Problem

I would like to internationalize my extension on the Google Chrome Web Store. More precisely: I would like to display a title, a description and a detailed description in the native language of each country I target.

To do this, I followed the official Google documentation: https://developer.chrome.com/docs/webstore/i18n/

So I modified the manifest.json file by putting the following elements:

"name": "__MSG_appName__",
  "description": "__MSG_appDesc__",
  "default_locale": "en",

In my "local" folder are contained all my messages.json files displaying a title and a description for each language. Here is an example of a messages.json file (in Spanish):

{
  "appName": {
    "message": "La Touche Musicale - Aprender a tocar el piano en línea"
  },
  "appDesc": {
    "message": "Aprende a tocar el piano fácilmente con las canciones que te gustan"
  }
}

I compressed my folder and imported the zip into the Chrome developer dashboard. The different languages appear well in the item edition and I can change the detailed description according to the language.

However, the name and description, filled in each of my messages.json files and not editable from the dashboard, remain in English. For example, if I choose the Spanish language, the title and description displayed are :

Title: "La Touche Musicale - Learn piano online Description: "Learn piano easily with the songs you love".

enter image description here

This is the title and description of the language I selected by default (en) in the manifest.json file.

Why don't the title and description adapt to the selected language, as I defined in the messages.json files?

ATTACHED DOCUMENTS :

Upvotes: 0

Views: 648

Answers (1)

Robbi
Robbi

Reputation: 1507

Before the uploading in CWS you should test the extension in at least one of designed extension languages.
To do this you can set a language in your browser as "display Chrome in this language".

Upvotes: 0

Related Questions