Skip to content
Advertisement

Tag: localization

How make VueJS understand localized numbers?

Let’s figure a simple sum app. two inputs, a and b and a c result. we have this markup and this Vue script this works great except that I’m working with localized numbers. that means. using comma “,” instead of dot “.” and dot instead of comma . entering number with decimal places confuses vue, and it are not able

Get ISO 8601 using Intl.DateTimeFormat

I want to use Intl.DateTimeFormat to format a Date, and in the examples it says Great, so I want my fallback to be ISO 8601 in the case a language doesn’t exist however This seems to be because iso8601 isn’t part of locales A string with a BCP 47 language tag, or an array of such strings. I’ve also tried

Highcharts DateTime Localization

Can someone point me to how I can localize the date-related Strings which are hardcoded in the HighCharts js-file. For instance, instead of the default ‘Feb’ date label in the x-axis, I would want the chart to display the localized value ‘Fév’. I tried implementing the localization by setting the options on the language object before the chart is instantiated:

Advertisement