Uploaded image for project: 'Forrest (Retired)'
  1. Forrest (Retired)
  2. FOR-935

i18n in dispatcher sitemap non-standard

    XMLWordPrintableJSON

Details

    • Urgent
    • Patch available

    Description

      The present dispatcher sitemap internal.xmap is taking the locale directly from the request instead of using the standard method in Forrest: LocaleAction. This leads to inconsistent behaviour: the standard messages (Last updated, Search, etc.) follows the best browser locale available, whatever happens, and appears "fixed" in its locale selection ? it isn't possible to change it, even if other aspects on the current page changes locale.

      The fix is to insert LocaleAction action wrapper, and use the locale provided by it.

      Attachments

        1. internal.xmap
          10 kB
          Sjur N. Moshagen

        Activity

          People

            Unassigned Unassigned
            moshagen Sjur N. Moshagen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: