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

How could I change the month's name as other language? #55

Closed
HIKALU-Z opened this issue Dec 28, 2015 · 7 comments
Closed

How could I change the month's name as other language? #55

HIKALU-Z opened this issue Dec 28, 2015 · 7 comments

Comments

@HIKALU-Z
Copy link

may i change Dec to 12 ,how can I do it~

@mobinni
Copy link
Owner

mobinni commented Dec 28, 2015

I need a little more info to go on. Are you trying to change the default date to dec 12?

@HIKALU-Z
Copy link
Author

I mean i want to translate the month's name from english to chinese.it can help my customer to read .

@mobinni
Copy link
Owner

mobinni commented Dec 28, 2015

You can change the momentJS language to your region's language http://momentjs.com/docs/#/i18n/loading-into-browser/

I don't know if it supports chinese.

If that doesnt work, I would fork this repo and adjust the code to support the chinese months.

@mobinni mobinni closed this as completed Dec 28, 2015
@HIKALU-Z
Copy link
Author

like this

$scope.month = {
        Jan: '一月',
        Feb: '二月',
       .....
       Dec:'十二月',
    };

@HIKALU-Z
Copy link
Author

thank you very much.
i am a freshman as a front devloper.
thanks for your help~

@mobinni
Copy link
Owner

mobinni commented Dec 28, 2015

No problem if you encounter any other problems, or need some feedback. Feel free to email me at [email protected]

@HIKALU-Z
Copy link
Author

woo!
that is so kind of you ,i wish we can be better and better ,and it is lucky to be a firend of you~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants