translation

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package translation provides a simple in-memory translation service - it may soon be renamed translate

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(lang, key string) string

Get returns the translation for a given language and key

func Load

func Load(root string) error

Load scans the path for translation lang.json files

Types

This section is empty.

Jump to

Keyboard shortcuts

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