Skip to content

How to change font color in translated text? #792

@klss0821

Description

@klss0821

I'm using XUnity.AutoTranslator to localize my game, but I'm having trouble modifying the font color of translated text.
The original text is white, but after translation it becomes dark. How can I make the translated text white?

I've enabled EnableFairyGUI=True in the config, and I'm using _Postprocessors.txt to wrap translations with color and size tags like this:
^.<color=.>..$ → $0
^\s*$ → $0
^(.+)$ → <size=24><color=#FFFFFFFF>$1</b

but still dark ,like this

Image

The original text is
Image

thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions