0 votes

I am implementing a game with dialogues. I'm using multilanguage and it works fine even if the text doesn't exceed a certain size.
I have a text with more than 100 letters
When I assign with the multilanguage index
$ RichTextLabel.bbcode_text = tr ("ask")

only up to about 100 characters are displayed.
I think the problem comes from the tr function. If I directly assign all the text to the variable it shows everything. I guess there is a limit of letters with multilanguage and tr.
Is there any way to do it? I need translation in 2 languages.

It does not work: (Not all characters are displayed)
$ RichTextLabel.bbcode_text = tr ("ask")

It works well:
$ RichTextLabel.bbcode_text = "How are you? I haven't seen you in these places for a long time. I hope you're very well and we can see each other more times. I'm looking for a red key."
How can I solve it?

All the best!

Godot version 3.3.2
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.