Git Product home page Git Product logo

Comments (4)

 avatar commented on June 2, 2024 1

Hi, I just tested using the file @amntoppo mentioned and it worked, I put an empty string for editTextHintText in applozic-settings.json so that

TextUtils.isEmpty(alCustomizationSettings.getEditTextHintText())

was true and it uses

getString(R.string.enter_message_hint)

I couldn't just "change the value to your desired language" in applozic-settings.json as you recommended because it would just use one value, but I need it to change depending on the device language.
I feel like it's kind of a "hack", I don't know if it was intended to be used that way but still, it works. Thanks :)

from kommunicate-android-chat-sdk.

amntoppo avatar amntoppo commented on June 2, 2024

Hello,
Please follow these steps to change the editText Hint text in Android:
https://docs.kommunicate.io/docs/flutter-customization#android

In applozic-settings.json, there exists a "editTextHintText". Change it's value to your desired language and you should be able to do it.
This will override the default value of alCustomizationSettings.getEditTextHintText()

from kommunicate-android-chat-sdk.

Sathyan-Elangovan avatar Sathyan-Elangovan commented on June 2, 2024

Hi @remisan Can you confirm whether the given solution is worked or not?

from kommunicate-android-chat-sdk.

amntoppo avatar amntoppo commented on June 2, 2024

Thanks for pointing out the issue, @remisan
We have added a fix for this. Now you will be able to set the hint text from both applozic-settings.json and localizable strings, whichever fits your requirement.

from kommunicate-android-chat-sdk.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.