Welcome to Zuora Product Documentation

Explore our rich library of product information

Test and validate

Instructions for creating a testing environment to validate custom code and integrations with ICU locales, including steps to enable ICU Locale formats and modify locale settings.

  1. Create a testing environment to validate the behavior of your custom code, integrations, and any third-party apps with ICU locales enabled. Thoroughly test the functionality related to date, time, number, and currency formats to ensure they work as expected.
    Familiarize yourself withSalesforce's documentation on switching from JDK locales to ICU locales. Salesforce provides a document summarizing the necessary steps to enable ICU locales and disable JDK locales.
  2. Perform the following steps to enable the ICU Locale formats.

    When you enable the ICU locale formats, the appearance and behavior related to dates, times, and currencies can change. For this reason, we recommend that you test in a sandbox before activating the new formats in production.

    1. From Setup, in the Quick Find Box, enter Release Updates, and then select Release Updates.
    2. Form the Enable ICU Locale Formats release update, click Get Started.
  3. Perform the following steps to complete the testing.
    1. Once the testing is completed, click Done from the Release Updates under the Setup.
      Note:

      Refrain from clicking the "Done" button until the testing process is fully completed, as there will be no option to revert back once it is clicked.

    2. To verify the successful activation of ICU Locale, navigate to the "ARCHIVED" section of the Release Updates and recheck the ICU local box. If it appears as green, it indicates that ICU Locale has been enabled correctly.
  4. Perform the following steps to modify the User Locale, adjusting the Locale specific to your Organization, and verifying Locales within your organization.
    1. Perform the following steps to Change User Locale.
      1. From Setup, in the Quick Find Box, enter Users, and then select Users.
      2. Click Edit on the user profile.
      3. Scroll down to Locale Settings. The locale settings can be modified to various options such as English (USA, UK, Canada, ans so on.), French, Japanese, Chinese, and more.
    2. Perform the following steps to change Org specific Locale.
      1. From Setup, in the Quick Find Box, enter Company Information, and then select Company Information.
      2. Click Edit to change the Default Locale.
        Note:

        Distinguishing between Company Locale and User Locale, it is primarily the impact of User Locale that needs to be assessed. At this time, it is advised not to modify the Company Information Locales.

    3. Perform the following steps to check Locales in your org.
      1. Open Developer console and run the below query in Query Editor. This gives a count of user locale wise as results. SELECT toLabel(LocaleSidKey) LocaleName, LocaleSidKey, Count(id) UserCount FROM User where IsActive=true GROUP BY LocaleSidKey

      2. An alternative approach is to query the User object using the LocaleSidKey field to obtain the desired information.