Changing Nav Bar Labels [SOLVED]

Moderator: crythias

Post Reply
losttech
Znuny newbie
Posts: 3
Joined: 24 Aug 2010, 21:16
Znuny Version: 2.4.7

Changing Nav Bar Labels [SOLVED]

Post by losttech »

I have looked almost everywhere. I can see where to change the ITSM Navbar labels but I cannot find where to change the rest.

Example:
I need to change "Phone-Ticket" to "New Referral" but I cannot find the file to do this in.

Please help!
Last edited by losttech on 25 Aug 2010, 17:33, edited 1 time in total.
OTRS 2.4.7 on Windows 2003 Server with MySQL
fbobraga
Znuny newbie
Posts: 77
Joined: 15 Jul 2010, 20:04
Znuny Version: 2.4.7
Contact:

Re: Changing Nav Bar Labels

Post by fbobraga »

... you can achieve this by setting a custom translation/Language file: http://doc.otrs.org/developer/2.4/en/ht ... ation-file
Evaluation/pilot: OTRS 2.4.7 on Linux (CentOS 5.4) with MySQL database connected to an Active Directory for Agents and Customers.
losttech
Znuny newbie
Posts: 3
Joined: 24 Aug 2010, 21:16
Znuny Version: 2.4.7

Re: Changing Nav Bar Labels

Post by losttech »

I initially tried that. I must not have set it up right, but i followed the instructions on the web page. It simply did not translate it.

This is what it looks like:

Code: Select all

# --
# Kernel/Language/xx_Custom.pm - provides xx custom language translation
# Copyright (C) 2001-2009 xxx, http://otrs.org/
# --
 $Id: xx_Custom.pm,v 1.10 2009/02/16 10:18:52 tr Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (AGPL). If you
# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
# --

package Kernel::Language::xx_Custom;

use strict;
use warnings;

use vars qw($VERSION);
$VERSION = qw($Revision: 1.10 $) [1];

sub Data {
    my $Self = shift;

     $$START$$

    # own translations
    $Self->{Translation}->{'Ticket'} = 'Referral';
    # or a other syntax would be
    #    $Self->{Translation} = {
    #        %{$Self->{Translation}},
    #        # own translations
    #        Lock => 'Lala',
    #        UnLock => 'Lulu',
    #    };

     $$STOP$$
}

1;
OTRS 2.4.7 on Windows 2003 Server with MySQL
losttech
Znuny newbie
Posts: 3
Joined: 24 Aug 2010, 21:16
Znuny Version: 2.4.7

Re: Changing Nav Bar Labels

Post by losttech »

I found it!!!

Its under SysConfig -> Ticket -> Frontend::Agent::ModuleRegistration
OTRS 2.4.7 on Windows 2003 Server with MySQL
Post Reply