Skip to content

Conversation

@Mikey-Mikey
Copy link
Contributor

The title explains it. This fix automatically translates the print name. ex: #HL2_Crowbar -> CROWBAR

Copy link
Owner

@thegrb93 thegrb93 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 I'm fine with this unless anyone else has an issue with it

@Cheatoid
Copy link
Contributor

Expose language.GetPhrase?

@Mikey-Mikey
Copy link
Contributor Author

Mikey-Mikey commented Jan 30, 2026

Expose language.GetPhrase?

true

@thegrb93 thegrb93 merged commit 913cc2a into thegrb93:master Jan 30, 2026
1 check passed
@Mikey-Mikey
Copy link
Contributor Author

Mikey-Mikey commented Feb 1, 2026

There should be full language.Add support so public starfalls can be auto-translated into the user's language. But the issue is that it could possibly be abused to change already existing language.Adds that aren't local to starfall.

@thegrb93
Copy link
Owner

thegrb93 commented Feb 1, 2026

Translations can be implemented in user code anyway using a simple table.

@Mikey-Mikey
Copy link
Contributor Author

Translations can be implemented in user code anyway using a simple table.

True, but using gmod's translation would make it so you wouldn't have to make a translation table yourself.

@Mikey-Mikey
Copy link
Contributor Author

I might try making a language.add implementation that only works with starfall-created translations

@Mikey-Mikey Mikey-Mikey deleted the printname-fix branch February 1, 2026 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants