load_compiled

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package load_compiled loads compiled files (and fallbacks) from the language identifier

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(compiledDirectoryPath, langIdentifier string, isCompressed bool, defaultLanguage *translate.Language) (*translate.Language, error)

Load loads the language and its fallbacks. Dictionary must be loaded first (Through LoadDefault())

func LoadDefault

func LoadDefault(compiledDirectoryPath, defaultLanguageIdentifier string, isCompressed bool) (*translate.Language, error)

LoadDefault loads the compiled dictionary and default language

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL