0.0.3 • Published 6 years ago
babel-plugin-opencc v0.0.3
Usage
{
"plugins": [
[
"babel-plugin-opencc",
{
translation: "hongKongToSimplified"
}
]
]
}
Supported translation
Type | Translation |
---|---|
hongKongToSimplified | Hong Kong to Simplified Chinese |
simplifiedToHongKong | Simplified Chinese to Hong Kong |
simplifiedToTraditional | Simplified Chinese to Traditional Chinese |
simplifiedToTaiwan | Simplified Chinese to Taiwan |
simplifiedToTaiwanWithPhrases | Simplified Chinese to Taiwan with phrases |
traditionalToHongKong | Traditional Chinese to Hong Kong |
traditionalToSimplified | Traditional Chinese to Simplified Chinese |
traditionalToTaiwan | Traditional Chinese to Taiwan |
taiwanToSimplified | Taiwan to Simplified Chinese |
taiwanToSimplifiedWithPhrases | Taiwan to Simplified Chinese with phrases |
For details of the translation, please refer to node-opencc
.