idoco / intergram

Free live chat widget linked to your Telegram messenger
https://www.intergram.xyz
Mozilla Public License 2.0
1.41k stars 358 forks source link

Custom text for "send a message" #82

Open TVBZ opened 4 years ago

TVBZ commented 4 years ago

Hi,

I want to use intergram in a different language. How to set a custom text for:

Thanks! Cool project :)

idoco commented 4 years ago

Hi @TVBZ, you can override the placeholder text by suppling a different placeholderText in the JSON configuration

I'm not sure you can change "you" part in the chat bubbles without forking. If you want I can merge a PR making it configurable just like placeholderText.

TVBZ commented 4 years ago

Hi @idoco. Thanks for the info. Indeed seams there is no option to change the "you". Too bad.

davidtaubmann commented 1 year ago

@idoco I believe this placeholderText variable should be included in the instructions at the front page of this github.

And it would be great if that "You" could be replaced too.

NFKData commented 1 year ago

If the "You" text you're saying is the one from the web guest/visitor, it can be replaced with the property visitorPronoun. Just as it was talked on this issue: https://github.com/idoco/intergram/issues/99

And implemented on this PR: https://github.com/idoco/intergram/pull/100

davidtaubmann commented 1 year ago

@NFKData This variable visitorPronoun doesn't seem to be working when established in the intergramCustomizations . I've read the mentioned PR's, but can't understand... How is this "property" established?