Developer Docs | Kommunicate

Developer Docs | Kommunicate

  • Try For Free
  • Docs

›Flutter

Web

  • Installation
  • CMS Installation
  • Authentication
  • Conversation
  • Conversation Assignment
  • Customization
  • Localization
  • Logout
  • Troubleshooting

Android

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Migration
  • Troubleshooting

iOS

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Troubleshooting

React Native

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Logout

Flutter

  • Installation
  • Authentication
  • Customization
  • Conversation
  • Push Notification
  • Localization
  • Troubleshooting

Ionic/Cordova/Phonegap

  • Installation
  • Authentication
  • Push Notification
  • Conversation
  • Customization
  • Localization
  • Logout
  • Resolving Errors

Ionic/Capacitor

  • Installation
  • Authentication
  • Push notification
  • Customization

Rich Messages

  • How To Use
  • Types of Rich Messages

Bots

  • Bot setup
  • Dialogflow Integration
  • Lex Integration
  • Kompose Bot Builder
  • IBM Watson Integration
  • Custom Bot Integration
  • Import Kompose Bot
  • Bot Samples

Integrations

  • Zapier
  • WhatsApp
  • WhatsApp 360Dialog
  • WhatsApp Twilio
  • WhatsApp Cloud API

Platform APIs

  • Authentication
  • Endpoints

Dashboard Features

  • Analytics
  • Conversations
  • Users
  • Bot Integration
  • Helpcenter
  • Settings

Configuration

  • Email Fallback
  • Webhooks
  • Access Token URL

Localization

Overview

This section is dedicated to localization of the chat interface in your Flutter app. You can update the text elements, titles and other text pieces used in the chat interface according to the language you prefer.

Note: The changes need to be done on both Native Android and iOS.

Android - Chat localization setup

Follow these steps to add locale support in the SDK:

  1. Create the 'Android resource directory' for the locale. For example, create 'values-es' for Spanish locale in your 'res' directory.

  2. Create the string resource file for your locale and place it under the directory you created in the first step. For example, create file strings.xml and place it under 'values-es' directory.

  3. Download and override resource string for your locale from below links. Translate all the strings from the below files to your locale and place it in the strings.xml file.

    • Array Options
    • Common Strings
    • Simple Strings

Example: Change resource string (message) value to Spanish locale:

    <string name="message">Mensaje</string>

iOS - Chat Localization Setup

Localizing Kommunicate iOS SDK is a two-step process:

  1. Download the sample Localizable.strings file from here.
  2. Then copy-paste all the text entries from above Localizable.strings file in your project's Localizable.strings file after modifying the values in your application's supported language.

To know more about adding language support in iOS, you can read Apple's documentation here

We also have an option to pass a custom localization file name. If you want to keep all Kommunicate SDK related keys in a separate file, then pass the name of your file like this:

// Add this in the AppDelegate's didFinishLaunchingWithOptions method
Kommunicate.defaultConfiguration.localizedStringFileName = "SampleKommunicateLocalizable"

RTL - Right to Left support

Few languages such as Arabic, Hebrew, and Persian are written from Right to Left. RTL support is necessary to accommodate them. Kommunicate also supports the languages written in the Right to Left direction.

To test the RTL support, change the phone language to Arabic or Hebrew and open the Kommunicate chat/sample app to see the changes.

← Push NotificationTroubleshooting →
  • Overview
    • Android - Chat localization setup
    • iOS - Chat Localization Setup
  • RTL - Right to Left support

Ready to automate more than 80% of your customer support?

Try for Free
  • support@kommunicate.io
  • United States
    (+1) (310) 402-2374
  • India
    (+91) 974-057-0196
  • Docs
    • Web
    • Android
    • iOS
    • Ionic/Phonegap
    • React Native
    • Flutter
  • Product
    • Kompose Chatbot Builder
    • Live Chat
    • Integrations
    • Helpcenter
    • Dialogflow Integration
    • Features
    • Pricing and FAQs
    • Get Demo
  • Resources
    • Chatbots Templates
    • Blog
    • Kommunity
    • Support Metrics
    • Free SaaS Icons
    • ROI Calculator
    • Comparison
  • Company
    • About Us
    • Partner Program
    • Terms of Service
    • Privacy Policy
    • Jobs
    • SLA
    • DPA
  • Support
    • Knowledge Base
    • Docs
    • Stack Overflow
    • API Status
    • Contact Us
Software Advice Frontrunners for Live Chat Mar-22crozdesk badgeCapterra Shortlist for Live Chat Mar-22GetApp Category Leaders for Live Chat Mar-22GDPR compliant - GDPR Copy 12Created with Sketch.COMPLIANTG2 reviews badge
Copyright © 2023 Kommunicate.io