Branch | Status | Coverage |
---|---|---|
master |
The Hyperscale locale library provides a simple locale manager
package main
import (
"fmt"
"github.com/hyperscale-stack/locale"
)
func main() {
ctx := context.Background()
ctx = locale.ToContext(ctx, language.French)
tag := locale.FromContext(ctx) // return language.French or locale.DefaultLocale if
}
Hyperscale Locale is licensed under the MIT license.