on ‎2017 May 22 5:26 PM
We have implemented custom compensation statements for our Merit Cycle process. We are wondering if the new implementation of Local Language from the 2017 Q2 release will apply to custom compensation statements as well.
Request clarification before answering.
Hello Toni.
I doubt it would apply to custom statement automatically.
Easiest way to test it is by generating statements as test. If you don't see this working then proceed as follows:
If you are familiar with XSL then please add a new standard statement from SuccessStore, export this file, and open in a text editor of your choice.
Once there look for following four Parameters(Starting with userLocale)

Now perform an export of your custom statement template and check if these parameters appears there or not. If you can't find these there it means the new feature may not automatically work on custom statement.
If you wish to update your statement you may involve your implementation partner or follow these steps on your own.
**Warning**
Don't overwrite your existing custom statement. After you export make sure you save a backup before making any changes.
Now, coming to updating custom statement. Copy these 4 parameters mentioned above into your custom statement after last <XSL: param name>
Once done search for following code(xsl:decimal-format) in standard statement template.

Copy these three lines in your custom statement.
Once done, search for moneyFormat in your custom statement under tags xsl:value-of select and replace it with $userLocaleSpecificMoneyFormat, $userLocaleSpecificDecimalFormatter
Something like this:
<xsl:value-of select="format-number($lumpSum, $userLocaleSpecificMoneyFormat, $userLocaleSpecificDecimalFormatter)"/>Repeat for all moneyFormat fields.(hopefully developer used meaningful naming convention)
Once done, try to import the statement and see if it imports. If it does it means no issues so far.
Now, go back to editor and search for percentFormat and replace it with $userLocaleSpecificPercentFormat, $userLocaleSpecificDecimalFormatter
Similarly repeat for amountFormat.
Let me know if you face any issues.
Also, may I request that you post such questions over here Customer Community
Regards,
Mohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.