Class RealmLocalizationResource
java.lang.Object
org.keycloak.services.resources.admin.RealmLocalizationResource
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRealmLocalizationResource
(KeycloakSession session, AdminPermissionEvaluator auth) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createOrUpdateRealmLocalizationTexts
(String locale, Map<String, String> localizationTexts) void
Import localization from uploaded JSON filevoid
deleteRealmLocalizationText
(String locale, String key) void
deleteRealmLocalizationTexts
(String locale) getRealmLocalizationText
(String locale, String key) getRealmLocalizationTexts
(String locale, Boolean useFallback) void
saveRealmLocalizationText
(String locale, String key, String text)
-
Field Details
-
session
-
-
Constructor Details
-
RealmLocalizationResource
-
-
Method Details
-
saveRealmLocalizationText
-
createOrUpdateRealmLocalizationTextsFromFile
@POST @Path("{locale}") @Consumes("multipart/form-data") public void createOrUpdateRealmLocalizationTextsFromFile(@PathParam("locale") String locale) Import localization from uploaded JSON file -
createOrUpdateRealmLocalizationTexts
-
deleteRealmLocalizationTexts
@Path("{locale}") @DELETE public void deleteRealmLocalizationTexts(@PathParam("locale") String locale) -
deleteRealmLocalizationText
-
getRealmLocalizationLocales
-
getRealmLocalizationTexts
-
getRealmLocalizationText
-