Customizing Translations

This file is read at last, so you may override any of the settings coming from the previous files. You may also add your own, new translations as well.

Example 16-4. Kernel/Language/de_Custom.pm

# --
package Kernel::Language::de_Custom;
# --
use strict;

use vars qw($VERSION);
$VERSION = '$Revision: 1.3 $';
$VERSION =~ s/^\$.*:\W(.*)\W.+?$/$1/;

# --
sub Data {
    my $Self = shift;
    my %Param = @_;

    # $$START$$

    # Re-Definitions
    $Self->{Translation}->{'Lock'} = 'Bearbeiten';
    $Self->{Translation}->{'Unlock'} = 'Freigeben';

    # Additions
    $Self->{Translation}->{'Model#'} = 'Modell-Nr.';
    $Self->{Translation}->{'spare part number'} = 'Ersatzteil-Nummer';

    # $$STOP$$
}
# --
1;