public class TranslationController extends BasicController
Modifier and Type | Field and Description |
---|---|
static String |
PERMISSION_BABELFISH
Describes the permission required to view and export translations.
|
defaultRoute
Constructor and Description |
---|
TranslationController() |
Modifier and Type | Method and Description |
---|---|
void |
export(WebContext ctx)
Exports all loaded translations into a xls file containing all supported languages
|
void |
export(WebContext ctx,
String filter)
Exports all loaded translations matching the given filter into a xls file containing all supported languages
|
assertNotNull, assertPermission, fail, getUser, hasPermission, onError, showDeletedMessage, showSavedMessage
public static final String PERMISSION_BABELFISH
public void export(WebContext ctx, String filter)
ctx
- the request being handledfilter
- the filter for the translation keyspublic void export(WebContext ctx)
ctx
- the request being handledCopyright © 2018. All rights reserved.