Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
param([string]$cultureName='')
$localePath=’C:\Users\hbulens\Desktop\test\{0}.js’ -f $cultureName
$localeTemplate = "@
Ext.onReady(function() {
if (Ext.util && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: 'R',
dateFormat: 'd-m-Y'
});
}
});
;@
Set-Content -Value $localeTemplate -Path $localePath
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.