# Copyright 2014 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.

# Map Horizon languages to datepicker locales
LOCALE_MAPPING = {
    'ar': 'ar',
    'az': 'az',
    'bg': 'bg',
    'ca': 'ca',
    'cs': 'cs',
    'cy': 'cy',
    'da': 'da',
    'de': 'de',
    'el': 'el',
    'es': 'es',
    'et': 'et',
    'fa': 'fa',
    'fi': 'fi',
    'fr': 'fr',
    'gl': 'gl',
    'he': 'he',
    'hr': 'hr',
    'hu': 'hu',
    'id': 'id',
    'is': 'is',
    'it': 'it',
    'ja': 'ja',
    'ka': 'ka',
    'kk': 'kk',
    'ko': 'kr',  # difference between horizon and datepicker
    'lt': 'lt',
    'lv': 'lv',
    'mk': 'mk',
    'ms': 'ms',
    'nb': 'nb',
    'nl-be': 'nl-BE',
    'nl': 'nl',
    'no': 'no',
    'pl': 'pl',
    'pt-br': 'pt-BR',
    'pt': 'pt',
    'ro': 'ro',
    'rs-latin': 'rs-latin',
    'sr': 'rs',  # difference between horizon and datepicker
    'ru': 'ru',
    'sk': 'sk',
    'sl': 'sl',
    'sq': 'sq',
    'sv': 'sv',
    'sw': 'sw',
    'th': 'th',
    'tr': 'tr',
    'ua': 'ua',
    'vi': 'vi',
    'zh-hans': 'zh-CN',
    'zh-hant': 'zh-TW',
}
