dawenxi-tech / 2fa

A 2FA desktop application.
MIT License
2 stars 1 forks source link

localise #27

Open gedw99 opened 9 months ago

gedw99 commented 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.

gedw99 commented 9 months ago

I and the other dev will be adding automatic machine translation here: https://github.com/vorlif/spreak/issues/21

heramerom commented 9 months ago

Thank you!