[EspoCRM 7.1.9, listsearch on leads list]
Hi,
in my installation, dateSearchRanges in listsearch have a typo: "currentMonth": "Aktuelles Monat" should read "currentMonth": "Aktueller Monat".
To make updatesafe changes, I copied the part dateSearchRanges from application/Espo/Resources/i18n/de_DE/Global.json to /custom/Espo/Custom/Resources/i18n/de_DE/Global.json. There, I changed currentMonth to "Aktueller Monat" saved and cleared cache (!).
Still, the erroneous entry will show up in the list of dateSearchRanges. After clearing the cache and reloading the page, cache contains the file data/cache/application/languages/de_DE.php. This file now has two parts named dateSearchRanges. One is made of the settings in application/Espo/Resources/i18n/de_DE/Global.json, the second one further down obviously is retrieved form /custom/Espo/Custom/Resources/i18n/de_DE/Global.json. The entry in data/cache/.../de_DE.php looks like this (I did not touch this file but for reading!):
This second part obviously is not taken into account, the list will always show "Aktuelles Monat".
Kind regards
Uli
Hi,
in my installation, dateSearchRanges in listsearch have a typo: "currentMonth": "Aktuelles Monat" should read "currentMonth": "Aktueller Monat".
To make updatesafe changes, I copied the part dateSearchRanges from application/Espo/Resources/i18n/de_DE/Global.json to /custom/Espo/Custom/Resources/i18n/de_DE/Global.json. There, I changed currentMonth to "Aktueller Monat" saved and cleared cache (!).
Still, the erroneous entry will show up in the list of dateSearchRanges. After clearing the cache and reloading the page, cache contains the file data/cache/application/languages/de_DE.php. This file now has two parts named dateSearchRanges. One is made of the settings in application/Espo/Resources/i18n/de_DE/Global.json, the second one further down obviously is retrieved form /custom/Espo/Custom/Resources/i18n/de_DE/Global.json. The entry in data/cache/.../de_DE.php looks like this (I did not touch this file but for reading!):
Code:
'dateSearchRanges' => [ 'currentMonth' => 'Aktueller Monat' ]
Kind regards
Uli
Comment