I use aspell and have done the following in config.pm
$Self->{'PreferencesGroups'}->{'SpellDict'} = {
'Prio' => '5000',
'Label' => 'Spelling Dictionary',
'PrefKey' => 'UserSpellDict',
'Module' =>
'Kernel::Output::HTML::PreferencesGeneric',
'Desc' => 'Select your default spelling
dictionary.',
'Activ' => '1',
'Data' => {
'nederlands' => 'Nederlands',
'deutsch' =>
'Deutsch',
'english' => 'English'
},
'Colum' => 'Other Options'
};
# default langauge
# (the default frontend langauge) [default: en]
$Self->{'DefaultLanguage'} = 'nl';
# used langauges
# (short name = long name and file)
$Self->{'DefaultUsedLanguages'} = {
# bb => 'Bavarian',
en => 'English',
de => 'Deutsch',
nl => 'Nederlands',
fr => 'Français',
# bg => 'Bulgarian',
# fi => 'Suomi',
# es => 'Español',
# pt_BR => 'Português Brasileiro',
# pt => 'Português',
# it => 'Italiano',
# ru => 'Russian',
# cz => 'Czech',
# pl => 'Polski',
# nb_NO => 'Norsk bokmål',
# nb_SW => 'Svenska',
# hu => 'Hungarian',
# ro => 'Romanian',
# hr => 'Croatian',
# sk => 'Slovak',
# sl => 'Slovenian',
# da => 'Dansk',
# jp => 'jp',
};
#Install ispell or aspell on your system, if you want to use a
spellchecker.
#Please specify the path to the aspell or ispell binary on your
operating
#system.
#$Self->{'SpellCheckerBin'} = '/usr/bin/ispell';
$Self->{'SpellCheckerBin'} = '/usr/bin/aspell';
#Default spell checker dictionary.
#$Self->{'SpellCheckerDictDefault'} = 'english';
$Self->{'SpellCheckerDictDefault'} = 'nederlands';
Regards,
Telecom Direct Almere B.V.
Peter van Beugen
Van:
otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] Namens henry@gamerzday.nl
Verzonden: donderdag 20 september 2007 9:52
Aan: User questions and discussions about OTRS.org
Onderwerp: Re: [otrs] Question about documentation
Hi Nils,
From: Nils Breunese
(Lemonbit) [mailto:nils@lemonbit.nl]
To: User questions and discussions about OTRS.org [mailto:otrs@otrs.org]
Sent: Thu, 20 Sep 2007 00:02:39 +0200
Subject: Re: [otrs] Question about documentation
Henry Verbeek wrote:
> I am trying to implement the nl.pm into Otrs but can't find any doc's
> about it.
> The website tells me that it is documented but no luck here.
> Ho can give me an hint or two.
>
> Thnx in advance.
You can set the following in Kernel/Config.pm:
$Self->{DefaultLanguage} = 'nl';
Is that what you mean?
This
is part of the problem. I want to use the nl.pm in combination whith Ispell so
spelling is working.
At this moment i can only choose English or Deutsh. I cant seem to find info
about setting it up.
Got any hints?
--
THNX,
Henry Verbeek