0 votes

Is there a way to translate parts of RichTextLabel? Is there an translate bbcode? Or should I use a custom script?

in Engine by (300 points)

1 Answer

0 votes

You could try making your own custom BBCode effect with the offset property.

by (7,336 points)

This would only work if the translation is as long as its key. As far as I understood you can not modify text with the effects. On top of this custom BBCode effects run every frame. Therefore the translation would happen every frame. This is unnecessary.

After looking around, there is no way to alter the vertical alignment of text (unless you want to do something like take an image of the text and then use a BitmapFont with the ascent property altered to change its vertical alignment). I did submit a proposal on the proposal github, though.

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 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 webmaster@godotengine.org with your username.