Set keyboard shortcut for Imperial Era
In working with the Japanese Imperial Calendar inputs, you can use a keyboard shortcut to select the Imperial Era.
About this task
You must configure this functionality by adding a
<JapaneseImperialDateFormat> element to localization file
localization_en_US.xml.
Procedure
-
In the Guidewire Studio Project window, navigate to the following
location and open file localization_en_US.xml:
-
Inside the
<GWLocale>element, starting on a new line immediately after the last item in the group, add a<JapaneseImperialDateFormat>element, for example:
See localization file localization_ja_JP.xml for an example of what to enter for the element attributes. These three element attributes are required.<GWLocale code="en_US" name="United States (English)" typecode="en_US"> <DateFormat long="E, MMM d, yyyy" medium="MMM d, yyyy" short="MM/dd/yyyy"/> <TimeFormat long="h:mm:ss a z" medium="hh:mm:ss a" short="h:mm a"/> <NumberFormat decimalSymbol="." thousandsSymbol=","/> <CurrencyFormat negativePattern="($#)" positivePattern="$#" zeroValue="-"/> <JapaneseImperialDateFormat long="" medium="" short="" /> </GWLocale> - Save your work.
