WordPress.org

Ready to get started?Download WordPress

Forums

Codestyling Localization
[resolved] Can not translate to Chinese Traditional using Google API (3 posts)

  1. sunhsilu
    Member
    Posted 2 years ago #

    I am using Google Translate API to translate to Chinese Traditional (zh-TW), however, the translated strings from Google are always Chinese Simplified (zh-CN). Any suggestion? Thanks.

    http://wordpress.org/extend/plugins/codestyling-localization/

  2. codestyling
    Member
    Plugin Author

    Posted 2 years ago #

    The plugin makes no difference between all languages an uses only the short language names. So in any case for chinese (eigter TW or CN) it uses the zh appreviation and gets traditional always.

    Google V1 APi did not support this separation, V2 does. If found it here:
    https://developers.google.com/translate/v2/using_rest#language-params

    So Chinese is to only one supported with the long form, my plugin currently not supports. I will put this on my bugfix list and incorporate this within the next update.

  3. codestyling
    Member
    Plugin Author

    Posted 2 years ago #

    Solved with upcomming version 1.99.19 and supports simplified and traditional for both API's.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.