Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strapi-plugin-sc2tc

Strapi 5 plugin for converting Simplified Chinese content to Traditional Chinese from the Content Manager edit view.

Features

  • Adds a compact "简转繁" action to Content Manager edit pages
  • Uses opencc-js to convert cn to hk
  • Handles common Strapi field structures: string, text, textarea, richtext, blocks, components, and dynamic zones
  • Includes en, zh-Hans, and zh-HK admin translations

Installation

npm install strapi-plugin-sc2tc

Strapi 5 usually discovers installed plugins automatically. To enable it explicitly:

export default () => ({
  sc2tc: {
    enabled: true,
  },
});

Rebuild the admin panel after installation:

npm run build
npm run develop

Usage

  1. Open a Content Manager edit page.
  2. Fill or copy Simplified Chinese content into the form.
  3. Click "简转繁".
  4. Review the converted content and save.

Development

npm install
npm run test
npm run build
npm run verify

Package

npm pack

License

MIT

About

Strapi plugin for converting Simplified Chinese content to Traditional Chinese

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages