Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-1038

Allow override of default Locale for all internal resources

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, wtk, wtk-terra
    • Labels:
      None

      Description

      The Resources class, and therefore all our internal resources, depend on the default platform Locale.  Sometimes (and it is so in our application) we want to use a non-default Locale to display an internationalized version of the application. To accomplish this we would need to specify an override of the default platform locale that can be set and used everywhere.

      I propose to add a field to Platform for this purpose, and replace calls to "Locale.getDefault()" with "Platform.getDefaultLocale()".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rwhitcomb Roger Lee Whitcomb
                Reporter:
                rwhitcomb Roger Lee Whitcomb
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: