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