这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@ankitpokhrel
Copy link
Contributor

Hi!

I've added Nepali translation to the Date picker.

Is there any way to change the number from default to local numbers? or am i missing anything?

@amsul amsul added this to the v3.4.1 milestone Apr 2, 2014
@amsul amsul added the todo label Apr 2, 2014
@amsul
Copy link
Owner

amsul commented Apr 2, 2014

There isn't any way to change the locale's numbers. This is definitely something I've been considering for a while. Will probably add an option for it in the next release.

@amsul
Copy link
Owner

amsul commented Apr 12, 2014

Pardon my ignorance..but after a little bit of Googling, it seems these Nepali dates are based on the Lunar Calendar - and not the Gregorian calendar - which won’t really work.

All the other translations and date formats follow Microsoft’s style guide. Their Nepali style guide also follows the Gregorian calendar. Considering Microsoft has done this, I would assume it’s an acceptable standard locally in Nepal. And so that’s what I’ll be implementing here as well.

Cheers.

@amsul amsul added solved and removed todo labels Apr 12, 2014
@amsul amsul closed this Apr 13, 2014
@ankitpokhrel
Copy link
Contributor Author

Yes! you are right other translations and date formats follow Microsoft’s style guide. But it is not an acceptable standard locally and it is the main problem we (the developers) face while creating local apps.

If its not possible to implement lunar calendar, it would be better to provide some utility methods to convert English date to Nepali date (and viceversa) and calculate the date difference. This will make this plugin more usable than other available plugins.

Thanks.

@amsul
Copy link
Owner

amsul commented Apr 13, 2014

Hmm.. that would be quite a complex feat. This is what I have at the moment as the translation.

It’s probably out of scope – but I’ll consider utility methods after a little research maybe for a future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants