-
-
Notifications
You must be signed in to change notification settings - Fork 506
Multi Language Support
Harsh B. Bhakta edited this page Jul 14, 2018
·
3 revisions
-
Supported languages: ARABIC, BENGALI, CHINESE_SIMPLIFIED, CHINESE_TRADITIONAL, ENGLISH, FRENCH, GERMAN, GUJARATI, HEBREW, HINDI, INDONESIA, ITALIAN, JAPANESE, KOREAN, PORTUGUESE, RUSSIAN, SPANISH, TURKISH, UKRAINIAN.
-
Support for more languages can be added over time. Check latest list of supported languages at here from ccp_defaultLanguage attribute.
-
Developer can enable Auto-Detect Language feature of CCP.
-
Also, developer might want enable Auto-Detect Country feature.
-
Language will be applied in country selection dialog.
-
-
-
add app:ccp_defaultLanguage="JAPANESE" to xml layout
<com.hbb20.CountryCodePicker android:id="@+id/ccp" android:layout_width="wrap_content" android:layout_height="wrap_content" app:ccp_defaultLanguage="JAPANESE" />
-
-
- Use
changeDefaultLanguage()
method.
- Use
-
- Google translator was used to translate the name of countries. These translations might not be accurate. If you find any mistake please report an issue to correct it or send a pull request.
- If you did not find your language, you can add your language easily and help other developers all around the world. Follow few simple steps to add new language.
- 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