Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component Language #48

Closed
go4cas opened this issue Mar 8, 2019 · 5 comments

Comments

Projects
None yet
2 participants
@go4cas
Copy link

commented Mar 8, 2019

Some of the components seems to have Chinese labels. Examples:

  • ColorPicker: OK and Cancel button
  • DatePicker: Day names

Is there a global setting to use a specific language?

@go4cas

This comment has been minimized.

Copy link
Author

commented Mar 8, 2019

I have fixed this by adding passing in the locale to the iview object, in the plugin instantiation:

import locale from 'iview/dist/locale/en-US'

Vue.use(iView, {
  transfer: true,
  size: 'small',
  locale
})
@xaboy

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2019

Element and Iview components use Chinese internally by default. element iview

@xaboy

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2019

So far there are some places in form-create that are Chinese, not customizable, and the next version can all support customization.

@xaboy

This comment has been minimized.

Copy link
Owner

commented Mar 8, 2019

Thank you for your support

@xaboy

This comment has been minimized.

Copy link
Owner

commented Mar 15, 2019

Already supported in version 1.6.1

@xaboy xaboy closed this Mar 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.