<commit_before># --
# Kernel/Language/xx_Custom.pm - provides xx custom language translation
# Copyright (C) 2001-2004 <NAME> <<EMAIL> at otrs.org>
# --
# $Id: xx_Custom.pm,v 1.1 2004-06-04 08:50:41 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
package Kernel::Language::xx_Custom;

use strict;

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

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

    # $$START$$

    $Self->{Translation}->{'Lock'} = 'Lala';
    $Self->{Translation}->{'Unlock'} = 'Lulu';

    # $$STOP$$
}
# --
1;<commit_msg>added other syntax example<commit_after># --
# Kernel/Language/xx_Custom.pm - provides xx custom language translation
# Copyright (C) 2001-2004 <NAME> <<EMAIL>>
# --
# $Id: xx_Custom.pm,v 1.2 2004-11-04 11:05:28 martin Exp $
# --
# This software comes with ABSOLUTELY NO WARRANTY. For details, see
# the enclosed file COPYING for license information (GPL). If you
# did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
# --
package Kernel::Language::xx_Custom;

use strict;

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

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

    # $$START$$

    # own translations
    $Self->{Translation}->{'Lock'} = 'Lala';
    $Self->{Translation}->{'Unlock'} = 'Lulu';

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

    # $$STOP$$
}
# --
1;
{'fraction_non_alphanumeric': 0.20113636363636364, 'fraction_numerical': 0.031818181818181815, 'mean_word_length': 3.0389908256880735, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3598952', 'n_tokens_mistral': 690, 'n_tokens_neox': 625, 'n_words': 164}