strapi-plugin-sc2tc
v1.0.0
Published
Strapi plugin for converting Simplified Chinese content to Traditional Chinese.
Maintainers
Readme
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-jsto convertcntohk - Handles common Strapi field structures: string, text, textarea, richtext, blocks, components, and dynamic zones
- Includes
en,zh-Hans, andzh-HKadmin translations
Installation
npm install strapi-plugin-sc2tcStrapi 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 developUsage
- Open a Content Manager edit page.
- Fill or copy Simplified Chinese content into the form.
- Click "简转繁".
- Review the converted content and save.
Development
npm install
npm run test
npm run build
npm run verifyPackage
npm packLicense
MIT
