Configuration Option to disable Specific Languages in AdminUI

Description

Request for a config option in the config files to exclude certain lanugages from the Admin UI dropdown and available languages list.

Use case: For China mainland, to show Taiwan Chinese, Traditional flag is legally prohibited.

Possible approach to this feature: Make the LanguageServiceImpl a managed class and give it a config file that has optional exclude configuration.

For example: in etc/org.opencastproject.adminui.impl.LanguageServiceImpl.properties

Add the filter to the getAvailableLanguages()

Sample of compiled language files ready by the LanguageServiceImpl
modules/admin-ui/src/main/resources/public/org/opencastproject/adminui/languages/
lang-el_GR.json
lang-es_ES.json
lang-gl_ES.json
lang-pl_PL.json
lang-tl_PH.json
lang-zh_TW.json
lang-en_GB.json
lang-fil_PH.json
lang-he_IL.json
lang-sl_SI.json
lang-tr_TR.json
lang-de_DE.json
lang-en_US.json
lang-fr_FR.json
lang-nl_NL.json
lang-sv_SE.json
lang-zh_CN.json

Assignee

Greg Logan

Reporter

Karen Dolan

Tags (folksonomy)

None

Components

Affects versions

Priority

Major
Configure