-
-
Notifications
You must be signed in to change notification settings - Fork 507
Auto Detect Language
Harsh B. Bhakta edited this page Jul 14, 2018
·
1 revision
- 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.
- How to Integrate into your project
- Full Number Support
- Use as a Country Selector
- Auto detect country
- Auto detect language
- Remember last selection
- Country Preference
- Custom Mater List
- Exclude Countries
- Example phonenumber as hint
- Multi Language Support
- Default Country
- Country Selection Listener
- Dialog events listener
- CCP Theme Customization
- CCP Dialog Theme Customization
- Custom TypeFace
- Read Selected Country
- XML Properties
- Update Guide to v2
- Guide to Add New Language Support
- Guide to add New Country
- Change contry names for local project
- Handle CCP ClickListener Manually
- Custom Dialog Title/Hint/Empty Result ACK
- Flag Emoji Support (BETA)
- Change Log