use of org.eclipse.smarthome.core.i18n.LocaleProvider in project smarthome by eclipse.
the class TranslationProviderOSGiTest method setup.
@Before
public void setup() {
translationProvider = getService(TranslationProvider.class);
LocaleProvider localeProvider = getService(LocaleProvider.class);
Map<String, Object> localeCfg = new HashMap<>();
localeCfg.put("language", "de");
localeCfg.put("region", "DE");
((I18nProviderImpl) localeProvider).modified(localeCfg);
}
Aggregations