public class TranslationUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LANG |
| Constructor and Description |
|---|
TranslationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
Initialize translations map.
|
static String |
translate(String key,
String lang)
Translate method.
|
public static final String DEFAULT_LANG
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.