* add missing locales
* use t.Setenv instead of os.Setenv for tests
* locale: present y/n if localisation is not latin. Always accept y/n in every case
* question: use operation info for question
* edge case where localised n is equal to default y
* add tests for basic locales
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
The io/ioutil package has been deprecated in Go 1.16. This commit
replaces the existing io/ioutil functions with their new definitions in
io and os packages.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>