Skip to content

Chat Localisation #829

Closed Answered by demchenkoalex
TJMusiitwa asked this question in Q&A
Jun 30, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey! There's nothing to localise anymore :)

I changed the overall architecture so that package users define widgets through builders. This way, all text can be provided directly by the user - no need for a localisation class.

For example:

  • If you want to customise the empty chat view, use emptyChatListBuilder and pass in any widget you like. You can still use my default EmptyChatList widget, which has a text parameter you can localise yourself.
  • Similarly, if you use composerBuilder with the Composer widget I provide, you can pass in a localised hintText. Or you can create your own, custom Composer.

So yes - with the new design, localisation class is no longer needed 🎉

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TJMusiitwa
Comment options

Answer selected by demchenkoalex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants