Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Translation Translation
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • TranslationTranslation
  • Issues
  • #35

Closed
Open
Created Jan 22, 2020 by bgm@bgmOwner

Getting Started dashlet does not cache per language

To reproduce:

  • Go to Localization Settings: https://dmaster.demo.civicrm.org/civicrm/admin/setting/localization?reset=1
  • Under "Available languages", add "French (France)"
  • Switch languages: https://dmaster.demo.civicrm.org/civicrm?reset=1&lcMessages=fr_FR
  • Click "configurer votre tableau de bord" (configure dashboard)
  • Add "CiviCRM Resources"

Now notice that the dashlet is available in French.

However, go back to English and refresh the dashboard data, and it will still be in English:

  • To switch back: https://dmaster.demo.civicrm.org/civicrm?reset=1&lcMessages=en_US

Capture_d_écran_de_2020-01-22_17-27-39

Small print:

  • This depends on first fixing the 'evalUrl' function to use the correct tsLocale.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking