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

Allow override of default Locale for all internal resources

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • core, wtk, wtk-terra
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment