Reduce list of supported languages

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Forum rules
Dont create your support topics here! No new topics with questions allowed!
Post Reply
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Reduce list of supported languages

Post by crythias »

In Config.pm, add an entry that is significantly shorter than the one in Defaults.pm: (copy/comment/remove unsupported languages in Config.pm).

Code: Select all

    $Self->{DefaultUsedLanguages} = {
        ar_SA   => 'Arabic (Saudi Arabia)',
        bg      => 'Bulgarian (Български)',
        ca      => 'Català',
        cs      => 'Czech (Česky)',
        da      => 'Dansk',
        de      => 'Deutsch',
        en      => 'English (United States)',
        en_CA   => 'English (Canada)',
        en_GB   => 'English (United Kingdom)',
        el      => 'Greek (Ελληνικά)',
        es      => 'Español',
        es_MX   => 'Español (México)',
        et      => 'Eesti',
        fa      => 'Persian (فارسى)',
        fr      => 'Français',
        fi      => 'Suomi',
        hi      => 'Hindi',
        hr      => 'Hrvatski',
        hu      => 'Magyar',
        it      => 'Italiano',
        ja      => 'Japanese (日本&#x8a9e)',
        lt      => 'Lietuvių kalba',
        lv      => 'Latvijas',
        nl      => 'Nederlands',
        nb_NO   => 'Norsk bokmål',
        pt_BR   => 'Português Brasileiro',
        pt      => 'Português',
        pl      => 'Polski',
        ru      => 'Russian (Русский)',
        sl      => 'Slovenian (Slovenščina)',
        sk_SK   => 'Slovak (Slovenčina)',
        sr_Cyrl => 'Serbian Latin (Srpski)',
        sr_Latn => 'Serbian Cyrillic (српски)',
        sv      => 'Svenska',
        tr      => 'Türkçe',
        uk      => 'Ukrainian (Українська)',
        vi_VN   => 'Vietnam (ViɆt Nam)',
        zh_CN   => 'Chinese (Sim.) (简体中文)',
        zh_TW   => 'Chinese (Tradi.) (正體中文)',
#            th => 'Thai (ไทย)',
#            ro => 'Românä',
#            hr => 'Croatian',
#            jp => 'Japanese (日本語)',
    }; 
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Reduce list of supported languages

Post by jojo »

also possible via Sysconfig.... Just delete the lines of the not wanted languages
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply