Menu

#237 vocab override feature

Future_Requests
closed
MRBS (195)
3
2015-09-16
2012-03-08
dwpoon
No

It would be nice if config.inc.php could override certain built-in UI vocabulary terms, say, to match house terminology.

For example, in our organization, we have deployed two instances of MRBS (with different access rights): one called "Meeting Room Booking System", and another called "Office Booking System".

With this feature, I could specify
$vocab_override['en']['mrbs'] = 'Office Booking System';
on the latter system and not have to hack lang.en every time I upgrade.

The suggested patch is the minimal change to implement this feature. It's ugly copy-and-paste programming; I suggest cleaning it up before incorporating it into MRBS.

Discussion

  • dwpoon

    dwpoon - 2012-03-08

    Suggested patch against MRBS 1.4.8

     
  • Campbell Morrison

    Good idea. Implemented in Rev 2273.

    Thanks,

    Campbell

     
  • John Beranek

    John Beranek - 2012-08-01
    • assigned_to: Campbell Morrison
     
  • Russel Ingram

    Russel Ingram - 2012-11-28

    Is this or is this not actually working in 1.4.9? I see that this feature request is still open and I can't seem to make the vocab_override variable(s) do what they're supposed to do.

     
  • Campbell Morrison

    Should be. What have you got set and where?

    Campbell

     
  • Russel Ingram

    Russel Ingram - 2012-11-28

    Nevermind. I had a require_once("language.inc") in my config.inc.php that
    must have been there for an older version. Removing it seems to have fixed
    the problem.

    Thanks,
    Russ

     

    Last edit: Campbell Morrison 2021-10-28
  • John Beranek

    John Beranek - 2015-09-16
    • status: open --> closed