Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14982

memcache + localization + navigation inconsistencies

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 4.4.6, 4.5
    • Fix Version/s: None
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      I'm using Drupal 7, with Inherit CMS language chosen in CiviCRM and the language packs for Spanish for both Drupal and CiviCRM. In Drupal I'm allowing the option to switch languages based on user preference and have enabled the built-in Drupal language selector block.

      When I have the ArrayCache enabled and I switch from English to Spanish, all works as expected. However, when I have Memcache enabled, it doesn't.

      In 4.4.6, , the drupal interface changes and all of the CiviCRM interface changes except the Navigation.

      If I manually enter the URL: /es/index.php?q=civicrm/menu/rebuild&reset=1, the page refreshes to the english page (/civicrm/dashboard). Next, when I click the Spanish link it shows everything, including the Navigation, in Spanish as expected.

      So, with 4.4.6, the work around is to manually enter the menu reset link. Unfortunately, if I manually restart memcached on the server (which clears it), you have to go through the whole procedure again.

      In 4.5 beta1, I can't get any part of the CiviCRM interface to change to spanish (but if I use ArrayCache it works as expected).

        Attachments

          Activity

            People

            • Assignee:
              jamie Jamie McClelland
              Reporter:
              jamie Jamie McClelland
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: