public class ContextLocaleProvider extends LocaleProvider
LocaleProvider
which uses Context.getLocale()
to provide the current Locale.Constructor and Description |
---|
ContextLocaleProvider(info.magnolia.context.Context context) |
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale() |
get
@Inject public ContextLocaleProvider(info.magnolia.context.Context context)
public Locale getLocale()
getLocale
in class LocaleProvider
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.