OTRS CVS - Manual
Prev | Chapter 16. Language translations | Next

# Translation for Actions

The Actions file may override the default values coming from Kernel/Language/$Locale.pm, though it is meant to contain translations for a specific module and is therefore in use only when the module is loaded.

Example 16-3. Kernel/Language/de_Calendar.pm

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

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

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

        # $$START$$

        $Self->{Translation}->{'Calendar'} = 'Termine';

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

Prev | Home | Next
Language translations | Up | Customizing Translations