translation

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2016 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package translation provides a simple in-memory translation service

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