Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5363

Language overrides appear to only work for en_us

    Details

      Description

      In 5.11 we added a language override, under /language/xx_yy/_override.php, this file is renamed from _override-example.php. Setting an override here works fine for en_us, but if you copy the _override.php file into any other language directory, like /language/de_de/ or /language/es_es/ it has no affect when using that language.

      To reproduce:

      1. Install a language like es_es and select it for your staff user.
      2. Copy _override-example.php to _override.php
      3. Copy _override.php to the language directory like /language/es_es/
      4. Edit the file and uncomment the 2nd example:

      $lang['AppController.structure.text_settings'] = 'Configuration';

      This controls the "Settings" link in the upper right corner of the admin area, to the left of Log Out. Note that the language remains the same. But, if you uncomment the line in /language/en_us/_override.php, the Settings link now shows "Configuration".

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Sprint 5.11.1 Sprint 1 [ 213 ]
        admin Paul Phillips made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 2 hours, 34 minutes [ 9240 ]
        Worklog Id 17589 [ 17589 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Mar/25

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 hours, 34 minutes
              2h 34m

                Agile