Posted 3 December 2021, 9:34 am EST
Hi,
I am trying to add en-IN as culture for my application, but i don’t see anything in culture file how I can do that?
i don’t want hindi culture for translation want to use for date and number format.
Forums Home / Wijmo / General Discussion
Posted by: bhagwati.pal on 3 December 2021, 9:34 am EST
Posted 3 December 2021, 9:34 am EST
Hi,
I am trying to add en-IN as culture for my application, but i don’t see anything in culture file how I can do that?
i don’t want hindi culture for translation want to use for date and number format.
Posted 7 December 2021, 2:55 am EST
Hello,
We apologize for the delayed response, currently, there isn’t any “en-IN” specified culture available in the wijmo culture file. However, the wijmo.Globalize class has methods for formatting and parsing numbers and dates. These methods are used by all Wijmo controls, you can use to update these parameters as per your requirement. For example below code, snippet demonstrates how to change the calendar date(d) pattern:
wijmo.culture.Globalize.calendar.patterns.d = "yyyy/M/d"
Regards