package
0.0.0-20240831221938-81d58bd93b8c
Repository: https://github.com/vanilla-os/sdk.git
Documentation: pkg.go.dev
# README
i18n
Localization support for the Vanilla OS SDK.
Extract strings
To extract strings from the source code, we use the xspreak
tool. Can be
installed with:
go install github.com/vorlif/xspreak@latest
To extract the POT, run:
xspreak -D path/to/source/ -p path/to/source/locale
# Functions
NewLocalizer creates a new localizer for the application, the localizer is used to localize strings in the application.