The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package i18n provides lightweight internationalization for the DWS CLI.
At startup call Init() (or let the package auto-init via the init function).
Use T("key") to get a translated string, or Tf("key", args...) for formatted
translations with fmt.Sprintf-style placeholders.
The active language is resolved from the DWS_LANG environment variable first,
then falls back to the LANG environment variable. If neither is set or does
not match a supported locale, "en" (English) is used as the default.
Message catalogs are stored as JSON files under locales/ and embedded at
compile time via go:embed.
Init resolves the active locale from environment variables and loads
the message catalogs from embedded JSON files. Safe to call multiple
times; only the first call takes effect.
Tf returns a formatted translated string. The key is looked up in the
active message catalog and the result is passed through fmt.Sprintf with
the provided arguments.