Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Internationalize your blocklet


This page describes how to support multiple languages of an blocklet in the Blocklet Store.

Unless your blocklet is strictly local in scope, you should internationalize it, making it easy to adapt to various languages and regions. You can then localize it—translate and otherwise adapt it so that it works well in a particular locale.

The word internationalization is often abbreviated to i18n, referring to the 18 letters between the letters i and n. Localization is sometimes abbreviated to l10n.

You can follow these steps to internationalize and localize an blocklet to be published in the Blocklet Store:

  • Decide which locales you want to support.
  • Internationalize and localize the blocklet's UI with any available i18n libraries.
  • Localize your blocklet's title, description in blocklet.yml.
  • Localize your blocklet's introduction in blocklet.md.
  • Upload your blocklet using the Developer Dashboard.
你获得 0 积分