Skip to content

how to just import zh-Hant? #275

Closed

Description

@nodegin

I already setup my own translation, but seems I must also add locale-data from react-intl

so I added

import en from 'react-intl/lib/locale-data/zh';
import zh from 'react-intl/lib/locale-data/zh';
addLocaleData(en);
addLocaleData(zh);

but zh returning non tranditional one, I saw react-intl/lib/locale-data/index.js contains zh-Hant

how can I add that?

Activity

  1. ericf commented on Jan 6, 2016

    @ericf
    Collaborator

    zh-Hant is included in the locale-data/zh.js file. The files contain all locale data for the language for convenience, sorry for the confusion.

  2. nodegin commented on Jan 6, 2016

    @nodegin
    Author

    ok thanks

  3. added 4 commits that reference this issue on Jan 13, 2016
    1dc62da
    3575e9e
    5f1397f
    36bd26e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions