Add New Zealand localization configuration files
Before you begin
Procedure
- Navigate in the Project window to .
- Right-click Localizations and choose . Name the new file localization_en_NZ.xml.
- Copy the contents of localization_en_US.xml and paste it to this new file.
-
In localization_en_NZ.xml, configure the
<GWLocale>element to useen_NZas the country and to use date configurations appropriate for New Zealand:<GWLocale code="en_NZ" name="New Zealand (English)" typecode="en_NZ"> <DateFormat long="E d MMM yyyy" medium="d MMM yyyy" short="dd/MM/yyyy"/> <TimeFormat long="h:mm:ss a z" medium="hh:mm:ss a" short="h:mm a"/> <NumberFormat decimalSymbol="." thousandsSymbol=","/> <CurrencyFormat negativePattern="($#)" positivePattern="$#" zeroValue="-"/> </GWLocale>
What to do next
The next step is Add a New Zealand folder under the geodata folder.
