How do I make a search bar for a settings menu also work with other languages? Currently, it works perfectly in English, but when I for example switch to German, it doesn’t work as intended. I would have to search in English, even though I set my language to German. Instead of “Helligkeit”, I would have to search “Brightness” to find the setting. Any ideas on how to fix this?
Create a dictionary, that’d link translated setting name to the settings entry.
There’s :GetTranslatorForPlayer()
, being a function of LocalizationService.
It returns a Translator
instance which let’s You translate strings to whatever language the user is using.
You could prolly go with that.
1 Like