Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add api to retrieve localization #141

@Postremus

Description

@Postremus

Description

In my application I needed to retrieve the translations from keycloak.

I defined the themeapi myself, and used the restclientbuilder to invoke it. However, could this project maybe offer inbuild?

 @Produces(MediaType.APPLICATION_JSON)
    @Path("resources")
    interface ThemeAPI {

        @GET
        @Path("/{realm}/{themeType}/{locale}")
        List<KeySource> getLocalizationTexts(@PathParam("realm") String realmName, @QueryParam("theme") String theme,
                @PathParam("locale") String localeString, @PathParam("themeType") String themeType, @QueryParam("source") boolean showSource);
    }

Discussion

No response

Motivation

No response

Details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions