Documentation
¶
Index ¶
- func Localize(lang string, messageId string, data map[string]interface{}, plural interface{}) (string, error)
- func TranslateConnectorAvailableMessage(lang string, connectorId int) ([]string, error)
- func TranslateConnectorChargingMessage(lang string, connectorId int) ([]string, error)
- func TranslateConnectorFaultedMessage(lang string, connectorId int) ([]string, error)
- func TranslateConnectorFinishingMessage(lang string, connectorId int) ([]string, error)
- func TranslateWelcomeMessage(lang string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Localize ¶
func Localize(lang string, messageId string, data map[string]interface{}, plural interface{}) (string, error)
Localize translates the message based on the language of the chat.
func TranslateWelcomeMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.