Skip to content

Localization support #9

@Lordmau5

Description

@Lordmau5

Right now the UI only supports English, both ingame and for stream chats (or Twitch polls).

A rough first idea would probably be to have a native en_US.json file packaged with the executable so it can always be read.

Then allow loading an overwrite file which will take priority for the strings if they're present, so it doesn't actually have to be the WHOLE file.

Additionally, allowing effects to be different for the UI, ingame and stream (e.g. Twitch chat and polls) is good, too.

Something like

{
	"effects": {
		"infinite_ammo": {
			"game": "Infinite Ammo",
			"ui": "Infinite Ammo",
			"stream": "Infinite Ammo"
		},
		"hold_the_f_up": {
			"game": "Hold The F Up...",
			"ui": "Hold The F Up...",
			"stream": "Hold The F*** Up..."
		},
	}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions