package
Version:
v0.0.0-...-688b8c7
Opens a new window with list of versions in this module.
Published: Dec 20, 2022
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetAllFrontend is used to get all frontend PO strings.
GetWithRequest is used to get an i18n string with the http request.
Setup is used to initialize the i18n engine. Should only be called once.
type Locale struct {
Code string `json:"code"`
Name string `json:"name"`
}
Locale is used to define a locale.
GetLocales is used to get all the supported i18n locales and their names in their
respective languages.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.