Delete a language version for the information

Delete a language version that you no longer need for your mini program's information.

Note: This action is permanent and cannot be undone.

Before you begin

Ensure the following things:

  • You have either of the following access:
    • Workspace admin role for the workspace where the mini program was created.
    • Admin role for the mini program you want to modify.
  • Your mini program information is available in at least two languages (you cannot delete the only remaining language).
  • Understand how your updates take effect based on your mini program's current status. For details, see How information updates work.

Procedure

To delete a language version, take the following steps:

Step 1: Open the mini program details page

  1. Log in to Mini Program Platform and navigate to the target workspace.
  2. In the left navigation panel, click Mini Programs.
  3. On the page that appears, find the target mini program in the list. You can use the search field to locate it quickly.
  4. Click the name of the mini program to open its details page.

Step 2: Delete a language version

  1. Click the Information tab.
  2. From the language tabs at the top of this section, select the language you want to delete.
  3. Scroll down and click Delete at the bottom of this section.

The next step varies. Follow the instructions based on the prompt you see:

  • Case 1: You see a simple confirmation dialog
    • When this occurs: You are deleting a non-default language from a DSL mini program, or an H5+ mini program whose latest version in all target apps is New Version Created.
    • What to do next: Click Delete to finish.
  • Case 2: You are asked to select a new default language
    • When this occurs: You are deleting the default language.
    • What to do next:
      • 1. In the dialog box, select a language that will become the new default.
      • 2. Click Delete.
      • (Optional) 3. If a new dialog appears, prompting you to create a new mini program version, follow the instructions in Step 3: Configure a new mini program version to complete. (This dialog appears if you are editing an H5+ mini program, but its latest version status in any target app has a status other than New Version Created.)
  • Case 3: You are asked to create a new mini program version
    • When this occurs: You are deleting a non-default language from an H5+ mini program whose latest version in any target app has a status other than New Version Created.
    • What to do next: Follow the instructions in Step 3: Configure a new mini program version to complete.

(Optional) Step 3: Configure a new mini program version

If prompted to create a new version, configure as follows:

  1. Review or change the version number
    1. Check the New Version field, whose value uses the major.minor.patch format. The field is pre-filled with a suggested version that increments the patch number by 1 (for example, 1.0.1 if the latest version is 1.0.0).
    2. If needed, change the version number. You can follow Semantic Versioning guidelines to assign one.
  1. Select a next step
    • Click Save to create the new version. This will add it to the Versions tab for later action.
    • Click Save & Publish to create the new version and start the release process for this version. For release instructions, see Release a mini program.

Related information

Add a new language version for the information