Skip to content

Commit 520947c

Browse files
authored
Add "If single locale but multiple languages" in "Publish extension" (#3690)
* initial * localtoc * format keywords * try move Support down * apply 2 ans's * tag the fields * , * entire placeholders
1 parent 48e783f commit 520947c

1 file changed

Lines changed: 39 additions & 9 deletions

File tree

microsoft-edge/extensions/publish/publish-extension.md

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ If you have an existing Chrome extension and you want to release it for Microsof
3939
* [Fix any form field errors](#fix-any-form-field-errors)
4040
* [Step 7: Provide testing notes and submit the extension](#step-7-provide-testing-notes-and-submit-the-extension)
4141
* [Resolve any Partner Center errors](#resolve-any-partner-center-errors)
42+
* [If a single locale appears but the package includes multiple languages](#if-a-single-locale-appears-but-the-package-includes-multiple-languages)
4243
* [If the extension is flagged as potentially malware](#if-the-extension-is-flagged-as-potentially-malware)
43-
* [Support](#support)
4444
* [Responsible AI for the AI-generated description of an extension](#responsible-ai-for-the-ai-generated-description-of-an-extension)
4545
* [Process of using the AI-generated description feature](#process-of-using-the-ai-generated-description-feature)
4646
* [Inputs used for the AI-generated description](#inputs-used-for-the-ai-generated-description)
4747
* [How the AI-generated description feature was evaluated](#how-the-ai-generated-description-feature-was-evaluated)
4848
* [Safeguards for the AI-generated description](#safeguards-for-the-ai-generated-description)
49+
* [Support](#support)
4950
* [See also](#see-also)
5051

5152

@@ -459,21 +460,40 @@ For such errors, try the following fixes:
459460

460461

461462
<!-- ========================================================================== -->
462-
## If the extension is flagged as potentially malware
463+
## If a single locale appears, but the package includes multiple languages
463464

464-
If the extension is flagged as malware or a potentially unwanted application (PUA), review [1.2.2 Unwanted and malicious software](/legal/microsoft-edge/extensions/developer-policies#122-unwanted-and-malicious-software) in _Developer policies for the Microsoft Edge Add-ons store_.
465+
Sometimes only one locale appears in the **Store Listings** tab at Partner Center, even though an extension's package includes multiple languages. This happens when the manifest file uses hardcoded strings instead of localized message references.
465466

466-
Make sure that your extension's code and functionality complies with all requirements and guidelines. For security reasons, Microsoft doesn't disclose exact triggers.
467+
To ensure that all supported locales are detected:
467468

469+
* Update your `manifest.json` file by replacing the `name` and `description` fields with i18n placeholders:
468470

469-
<!-- ========================================================================== -->
470-
## Support
471+
```
472+
{
473+
"manifest_version": 3,
474+
"name": "__MSG_extensionName__",
475+
"description": "__MSG_extensionDescription__"
476+
}
477+
```
471478

472-
If you experience issues when registering as an extension developer or when submitting an extension, you can:
479+
* Include a `default_locale` in your manifest, such as `"default_locale": "en"`.
473480

474-
* Enter a support ticket through [Extensions New Support Request](https://support.microsoft.com/supportrequestform/e7a381be-9c9a-fafb-ed76-262bc93fd9e4).
481+
* Make sure your `_locales` folder contains a properly structured `messages.json` file for each language. Partner Center uses these message references to identify available languages. If these message references are missing, the language will be skipped.
475482

476-
* [Contact the Microsoft Edge extensions team](../contact.md).
483+
The message references are the i18n `"name"` and `"description"` keys in each `/_locales/messages.json` file. These message references (i18n keys) correspond to the `"__MSG_extensionName__"` and `"__MSG_extensionDescription__"` placeholders that are used in the `"name"` and `"description"` fields of the `manifest.json` file. Partner Center uses these message references to determine which languages are available.
484+
485+
See also:
486+
* [chrome.i18n](https://developer.chrome.com/docs/extensions/reference/api/i18n) - API to implement internationalization throughout an app or extension.
487+
* [Manifest file format for extensions](../getting-started/manifest-format.md)
488+
* [Manifest file format](https://developer.chrome.com/docs/extensions/reference/manifest) in Chrome docs.
489+
490+
491+
<!-- ========================================================================== -->
492+
## If the extension is flagged as potentially malware
493+
494+
If the extension is flagged as malware or a potentially unwanted application (PUA), review [1.2.2 Unwanted and malicious software](/legal/microsoft-edge/extensions/developer-policies#122-unwanted-and-malicious-software) in _Developer policies for the Microsoft Edge Add-ons store_.
495+
496+
Make sure that your extension's code and functionality complies with all requirements and guidelines. For security reasons, Microsoft doesn't disclose exact triggers.
477497

478498

479499
<!-- ========================================================================== -->
@@ -534,6 +554,16 @@ The following safeguards are in place for the AI-generated description:
534554
* You have full control over the AI-generated description, and can choose to use it as-is, edit it, or discard it.
535555

536556

557+
<!-- ========================================================================== -->
558+
## Support
559+
560+
If you experience issues when registering as an extension developer or when submitting an extension, you can:
561+
562+
* Enter a support ticket through [Extensions New Support Request](https://support.microsoft.com/supportrequestform/e7a381be-9c9a-fafb-ed76-262bc93fd9e4).
563+
564+
* [Contact the Microsoft Edge extensions team](../contact.md).
565+
566+
537567
<!-- ========================================================================== -->
538568
## See also
539569
<!-- all links in article -->

0 commit comments

Comments
 (0)