iPolloWork icon indicating copy to clipboard operation
iPolloWork copied to clipboard

[Bug] Built-in Figma plugin metadata remains Chinese in the English UI

Open yuuu125 opened this issue 4 months ago • 0 comments

Background and impact

The built-in Figma plugin package is presented as an official installable item in Settings > Extensions > Plugin packages. When the application locale is English, several visible strings from the package manifest remain in Chinese, making the newly added plugin experience only partially localized.

This is separate from the existing marketplace unavailable-state localization issue: the affected text is data supplied by the bundled Figma package and is rendered after the package catalog loads successfully.

Affected modules

  • examples/plugin-packages/figma/ipollowork.plugin.json
  • apps/app/src/react-app/domains/settings/plugin-packages-panel.tsx

The panel renders item.manifest.description, resource.label, and permission.reason directly. The bundled Figma manifest provides these fields only in Chinese, for example the package description, resource labels such as 设计转代码, and permission reasons.

Steps to reproduce

  1. Launch iPolloWork with the application language set to English.
  2. Open Settings > Extensions > Plugin packages.
  3. View the available Figma package, then install it and expand its details.
  4. Inspect the package description, included-resource labels, and permissions list.

Expected behavior

Built-in Figma package metadata should be displayed in the active application language. English users should see English descriptions, labels, and permission reasons; Chinese users should retain Chinese copy.

Actual behavior

The panel UI is localized, but the Figma plugin metadata rendered inside it remains Chinese in the English locale.

Suggested investigation

Add localized metadata for bundled plugin packages and choose the appropriate variant in the catalog or UI layer. Avoid translating arbitrary third-party/local package manifests automatically; scope the change to built-in packages whose metadata is maintained by this repository. Add an English-locale regression test for the Figma catalog card and installed-package details.

yuuu125 avatar Jul 22 '26 08:07 yuuu125