Skip to content

Add some kind of text language translation facility. #9

Open
@rcoreilly

Description

@rcoreilly

Qt requires you to wrap all use of string literals in some magic cookie, in Go it would be something like: tr.Tr("Ok") ?

But might be simpler to just have Label directly take responsibility for translating everything it gets, with a "translate" property that gets set to true by default, but can be turned off? All fixed-content gui elements go through Label eventually so probably that makes sense, and is more automatic and clean.

is there any existing Go infrastructure that would be helpful for this?

impl can simply be a big map of maps or something like that. need to deal with asset issues for the translation database, etc #8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions