Last active
January 11, 2018 19:59
-
-
Save hbulens/710cd536a60e3d827e0f13df4a88417e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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