Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom text for "send a message" #82

Open
TVBZ opened this issue Feb 23, 2020 · 5 comments
Open

Custom text for "send a message" #82

TVBZ opened this issue Feb 23, 2020 · 5 comments

Comments

@TVBZ
Copy link

TVBZ commented Feb 23, 2020

Hi,

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

  • "send a message"
  • "you" (in chat bubbles)

Thanks! Cool project :)

@idoco
Copy link
Owner

idoco commented Feb 25, 2020

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
Copy link
Author

TVBZ commented Feb 27, 2020

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

@davidtaubmann
Copy link

@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
Copy link

NFKData commented Jun 15, 2023

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: #99

And implemented on this PR:
#100

@davidtaubmann
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants