Skip to content

Auto Detect Language

Harsh B. Bhakta edited this page Jul 14, 2018 · 1 revision

CCP can auto-detect Language.

  • It can be enabled by adding XML property app:ccp_autoDetectLanguage="true" in CCP view
  • Default value of app:ccp_autoDetectLanguage is FALSE
  • CCP supports set of languages. Check the latest list of supported languages at here from ccp_defaultLanguage attribute.
  • When auto detect language is enabled, if device language is one of the CCP supported languages, then CCP and selection will be set to that language. Otherwise, it will switch to configured Default Language.
  • The language is detected at the runtime, so it can not be shown in the Android Studio preview of the layout.
Clone this wiki locally