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

Add debug language to help with localisation efforts #17879

Merged
merged 2 commits into from
Apr 19, 2022

Conversation

peppy
Copy link
Member

@peppy peppy commented Apr 19, 2022

The idea is to allow a developer to immediately see which text on a component or screen has already got localisation support. It can be a bit of a challenge to see this when creating a new component that doesn't yet have any translations populated.

Curious to hear thoughts on this. I could see it working very well as a visual tests checkbox (implemented at o!f side), potentially in addition to having this at the game level, or replacing this PR.

osu.2022-04-19.at.05.33.27.mp4

The idea is to allow a developer to immediately see which text on a
component or screen has already got localisation support. It can be a
bit of a challenge to see this when creating a new component that
doesn't yet have any translations populated.

Curious to hear thoughts on this. I could see it working very well as a
visual tests checkbox (implemented at o!f side), potentially in addition
to having this at the game level, or replacing this PR.
frenzibyte
frenzibyte previously approved these changes Apr 19, 2022
Copy link
Member

@frenzibyte frenzibyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good as a first step, can imagine using it in-game for cases where test coverage is not properly included (although the hope is for that to never happen).

The visual tests checkbox can happen as a follow-up.

@peppy
Copy link
Member Author

peppy commented Apr 19, 2022

I think this looks good as a first step, can imagine using it in-game for cases where test coverage is not properly included (although the hope is for that to never happen).

What do you mean by test coverage here?

@frenzibyte
Copy link
Member

As in some areas of the game may not be separated to their own test scenes for one reason or another, so can imagine switching to this "debug" localization in-game being handy for these cases. Probably a bit of an extremely unlikely scenario though.

@peppy
Copy link
Member Author

peppy commented Apr 19, 2022

Ah right, understand now.

Verified

This commit was signed with the committer’s verified signature.
jeevatkm Jeevanandam M.
@smoogipoo smoogipoo merged commit 825368c into ppy:master Apr 19, 2022
@peppy peppy deleted the localisation-debug-store branch April 20, 2022 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants