How to change your language settings for ASAP Android SDK?

How to change your language settings for ASAP Android SDK?

The ASAP SDK supports 47 languages. You can set any language of your choice based on the geographical location of your app's end-users.

Below are the 47 language codes that help you set the language for the ASAP help widget.

Language

Local Code

English (UK)

en-GB

English (US)

en

German

de

Spanish

es

Catalan

ca-ES

French

fr

French (Canada)

fr-CA

Italian

it

Russian

ru

Chinese (Traditional)

zh-Hant

Chinese (Simplified)

zh-Hans

Turkish

tr

Dutch

nl

Danish

da

Portuguese (Portugal)

pt-PT

Japanese

ja

Swedish

sv

Polish

pl

Arabic

ar

Hebrew

he

Afrikaans

af

Czech

cz

Bulgarian

bg

Finnish

fi

Greek

el

Hungarian

hu

Indonesian

id

Norwegian (Bokmal)

nb

Romanian

ro

Thai

th

Ukrainian

uk

Vietnamese

vi

Urdu

ur

Hindi

hi

Telugu

te

Kannada

kn

Tamil

ta

Marathi

mr

Korean

ko

Persian

fa

Bengali

bn

Gujarati

gu

Malay

ms

Malayalam

ml

Slovak

sk

Croatian

hr

Slovenian

sl


Below is the code that helps you set the language for the ASAP help widget. Pass the language identifier to the method. For instance, pass "en" for English.
  1. ZDPortalConfiguration.setLanguage("en");
If your app supports only a handful of languages, not all 47 mentioned in the table, you can configure the ASAP help widget to support only the languages you want.

To do this, include the following code snippet in the build.gradle file.
  1. android {
        defaultConfig {
            ...
            resConfigs "en", "ta", "fi"
        }
    }
For example, the snippet mentioned above includes only English, Tamil, and Finnish in the help widget and excludes the other languages.

Refer here for more: resConfigs key

How to customize UI strings? 

The ASAP SDK facilitates customization of the text that appears on the different screens of the help widget. The text includes UI labels for help modules, error messages, and general information.

To change the text, perform the following steps:

    1    In your app's strings.xml file, include the keys relevant to the SDK UI. (Refer to the table below for the list of keys supported)
    2    Compile the code and verify.

The following table lists some prominent keys in the default ASAPLocalizable.strings file.

Key

Default Text


Description

DeskPortal.Dashboard.Heading

"Customer Support"

Text that appears on the help center dashboard

DeskPortal.Dashboard.helpcenter.title

"Knowledge Base"

Title of the knowledge base module icon on the dashboard

DeskPortal.Dashboard.helpcenter.description

"Browse our extensive repository of help articles"

Text that describes the knowledge base

DeskPortal.Dashboard.community.title

"Community"

Title of the user community module icon on the dashboard

DeskPortal.Dashboard.community.description

"Find and share solutions with the user community"

Text that describes the user community

DeskPortal.Dashboard.addticket.title

"Submit Ticket"

Title of the ticket submission module icon on the dashboard

DeskPortal.Dashboard.addticket.description

"Seek help from our agents"

Text that describes the ticket submission screen

DeskPortal.Dashboard.myticket.title

"My Tickets"

Title of the my tickets icon on the dashboard

DeskPortal.Dashboard.myticket.description

"View and manage tickets that you submitted"

Text that describes the my tickets screens

DeskPortal.Helpcenter.article.detail.relatedtitle

"Related Articles"

Text that appears below any help article in the knowledge base

DeskPortal.Helpcenter.article.detail.vote.description

"Was this article helpful?"

Text that seeks feedback from the user

DeskPortal.Helpcenter.feedback.title

"Feedback"

Title of the feedback form

DeskPortal.Helpcenter.feedback.description

"We're sorry the article wasn't helpful."

Text that appears when a user downvotes an article

DeskPortal.Myticket.option.closeticket

"Close Ticket"

Text for option that lets the user close a ticket they submitted

DeskPortal.Error.message.reload

"Retry"

Error message that appears if ticket submission fails

DeskPortal.Network.failed.error.message

"No Internet connection"

Error message that indicates loss of connectivity

DeskPortal.Dashboard.livechat.title

"Live Chat"

Title of the live chat module on the help center dashboard

DeskPortal.Addticket.title

"Add Ticket"

Title of the ticket submission form

    Access your files securely from anywhere

      Zoho CRM Training Programs

      Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

      Zoho CRM Training
        Redefine the way you work
        with Zoho Workplace

          Zoho DataPrep Personalized Demo

          If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

          Zoho CRM Training

            Create, share, and deliver

            beautiful slides from anywhere.

            Get Started Now


              Zoho Sign now offers specialized one-on-one training for both administrators and developers.

              BOOK A SESSION





                          Quick Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          CRM Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal
                          Mobile App
                          Form Designer HR
                          Mobile Forms
                          Card Forms Food Offline Forms
                          Assign Forms Photography
                          Mobile Forms Features
                          Translate Forms Real Estate Kiosk in Mobile Forms
                          Electronic Forms

                          Notification Emails for Forms Alternatives Security & Compliance
                          Holiday Forms Google Forms alternative  GDPR
                          Form to PDF Jotform alternative HIPAA Forms
                          Email Forms
                          Encrypted Forms
                          Embeddable Forms
                          Secure Forms
                          Drag and Drop form builder
                          WCAG


                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                Manage your brands on social media

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      Zoho Sheet Resources

                                                       

                                                          Zoho Forms Resources


                                                            Secure your business
                                                            communication with Zoho Mail


                                                            Mail on the move with
                                                            Zoho Mail mobile application

                                                              Stay on top of your schedule
                                                              at all times


                                                              Carry your calendar with you
                                                              Anytime, anywhere




                                                                    Zoho Sign Resources

                                                                      Sign, Paperless!

                                                                      Sign and send business documents on the go!

                                                                      Get Started Now




                                                                              Zoho TeamInbox Resources



                                                                                      Zoho DataPrep Resources



                                                                                        Zoho DataPrep Demo

                                                                                        Get a personalized demo or POC

                                                                                        REGISTER NOW


                                                                                          Design. Discuss. Deliver.

                                                                                          Create visually engaging stories with Zoho Show.

                                                                                          Get Started Now









                                                                                                              • Related Articles

                                                                                                              • Introducing ASAP Android SDK

                                                                                                                This document pertains explicitly to help widgets created using the updated new ASAP Setup. Please note that if you are using an older version of ASAP, the help widgets will be read-only. To enable the new ASAP widgets on your app, use the latest ...
                                                                                                              • How to customize the ASAP SDK Android Help Widget UI?

                                                                                                                The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Customized themes You can also override the default dark and light themes to make the SDK look ...
                                                                                                              • How to customize the ASAP SDK Flutter Help Widget UI?

                                                                                                                The ASAP SDK allows you to customize the UI of the help widget as required. Predefined themes The SDK UI comes with two predefined themes: light and dark. Android iOS Setting up a theme type You can customize the theme type in the SDK help widget ...
                                                                                                              • What are the configuration settings for the ASAP Android SDK?

                                                                                                                ASAP configuration ASAP SDK provides methods to display/hide specific functionality. For example, To hide the Knowledge Base (KB), use the following method: ZDPortalConfiguration.setConfiguration(new ...
                                                                                                              • How to change your language settings for ASAP iOS SDK?

                                                                                                                The ASAP SDK supports 47 languages. You can set any language of your choice based on the geographical location of your app's end-users. Below are the 47 language codes that help you set the language for the ASAP help widget. Language Local Code ...
                                                                                                                Wherever you are is as good as
                                                                                                                your workplace

                                                                                                                  Resources

                                                                                                                  Videos

                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                  eBooks

                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                  Webinars

                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                  CRM Tips

                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                    Zoho Show Resources