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

"show text" is not scanned for translation #1848

Closed
Beuc opened this issue Jun 1, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@Beuc
Copy link
Contributor

commented Jun 1, 2019

Hi,

AFAICS this line:

show text "Hello!"

is not scanned for translation.
A work-around:

$ hello = __("Hello!)"
show text "[hello]"

I was wondering if this was by design or if this should be fixed?

@renpytom

This comment has been minimized.

Copy link
Member

commented Jun 1, 2019

show text _("Hello") 

works for this reason, and should cause the translation to occur. That being said, modern games should just use screen language for this sort of thing.

@Beuc

This comment has been minimized.

Copy link
Contributor Author

commented Jun 1, 2019

That makes sense, thanks!

@Beuc Beuc closed this Jun 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.