module Build::Locale

Defined in:

i18n.cr

Constant Summary

DEFAULT = "en"
DETECTION_VARS = {"LC_ALL", "LC_MESSAGES", "LANG"}
OVERRIDE_VAR = "BUILD_LOCALE"
SUPPORTED = {"en", "ja"}

Class Method Summary

Class Method Detail

def self.accept_language(env = ENV) : String #

[View source]
def self.init : Nil #

[View source]
def self.normalize(raw : String | Nil) : String #

[View source]
def self.selected(env = ENV) : String #

[View source]