Announcement

Collapse
No announcement yet.

Translation of dateSearchRanges: changes in custom/... are not taken into account

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Translation of dateSearchRanges: changes in custom/... are not taken into account

    [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!):

    Code:
    'dateSearchRanges' => [
       'currentMonth' => 'Aktueller Monat'
    ]
    This second part obviously is not taken into account, the list will always show "Aktuelles Monat".

    Kind regards
    Uli

  • #2
    Bezeichnungen kann man korrigieren in Administration->Bezeichnungs-Manager->deine entity und dort etwas suchen, wo die Bezeichnung auftaucht. Custom entties und ihre Felder werden dort automatisch hinzugefügt, man braucht nicht in irgendwelchen Dateien zu suchen.

    Comment


    • #3
      Danke für den Hinweis. Nach meinem "Gebastel" steht im Bezeichnungsmanager tatsächlich "Aktueller Monat" drin. Trotzdem steht in der Liste unter "Erstellt am" der alte Eintrag "Aktuelles Monat" drin. Und: Ja, ich habe den Cache zwischenzeitlich geleert ...

      Comment


      • shalmaxb
        shalmaxb commented
        Editing a comment
        mal rebuild machen, Browser Cache auch löschen

    • #4
      Please, this is not for bug reports section (aside the wrong translation label).

      To make it right way, use the label manager to change a label. It will create a proper file in custom.

      Comment


      • #5
        Originally posted by yuri View Post
        Please, this is not for bug reports section (aside the wrong translation label).

        To make it right way, use the label manager to change a label. It will create a proper file in custom.
        Sorry, I thought, it was a bug!

        Comment

        Working...
        X