def get_watson_search_config(language):
    """
    Get watson language config, default to pg_catalog.english for not supported language

    List of supported languages can be found on https://github.com/etianen/django-watson/wiki/Language-support#language-support
    """
    return {'da': 'pg_catalog.danish', 'nl': 'pg_catalog.dutch', 'en':
        'pg_catalog.english', 'fi': 'pg_catalog.finnish', 'fr':
        'pg_catalog.french', 'de': 'pg_catalog.german', 'hu':
        'pg_catalog.hungarian', 'it': 'pg_catalog.italian', 'no':
        'pg_catalog.norwegian', 'pt': 'pg_catalog.portuguese', 'ro':
        'pg_catalog.romanian', 'ru': 'pg_catalog.russian', 'es':
        'pg_catalog.spanish', 'sv': 'pg_catalog.swedish', 'tr':
        'pg_catalog.turkish'}.get(language.lower()[:2], 'pg_catalog.english')
