Open gedw99 opened 9 months ago
At dev time:
extract the golang text to a json format
translate the json
merge back in to the json
At runtime: golang gui uses that json based on the local detection.
https://github.com/vorlif/spreak to do all the above at dev time.
https://github.com/gioui/gio-x/tree/main/pref/locale to detect the users locale at runtime.
I and the other dev will be adding automatic machine translation here: https://github.com/vorlif/spreak/issues/21
Thank you!
At dev time:
extract the golang text to a json format
translate the json
merge back in to the json
At runtime: golang gui uses that json based on the local detection.
https://github.com/vorlif/spreak to do all the above at dev time.
https://github.com/gioui/gio-x/tree/main/pref/locale to detect the users locale at runtime.