package
0.49.0
Repository: https://github.com/ory/fosite.git
Documentation: pkg.go.dev

# Functions

GetLangFromRequest is a helper func to get the language tag based on the HTTP request and the constructed message catalog.
GetMessage is a helper func to get the translated message based on the message ID and lang.
GetMessageOrDefault is a helper func to get the translated message based on the message ID and lang.

# Structs

DefaultLocaleBundle is a bundle of messages for the specified locale.
DefaultMessage is a single message in the locale bundle identified by 'ID'.

# Interfaces

MessageCatalog declares the interface to get globalized messages.