code: @GET
      @Produces(MediaType.APPLICATION_JSON)
      @RequiresPermissions(I18nPermissions.TRANSLATION_READ)
      public Response getTranslations(@QueryParam(PAGE_INDEX) Long pageIndex, @QueryParam(PAGE_SIZE) Integer pageSize,
              @QueryParam(IS_MISSING) Boolean isMissing, @QueryParam(IS_APPROX) Boolean isApprox,
              @QueryParam(IS_OUTDATED) Boolean isOutdated, @QueryParam(SEARCH_NAME) String searchName) {
  
          Response response = Response.noContent().build();
  
          if (pageIndex != null && pageSize != null) {
              KeySearchCriteria criteria = new KeySearchCriteria(isMissing, isApprox, isOutdated, searchName, locale);
              response = Response.ok(translationFinder.findAllTranslations(new Page(pageIndex, pageSize), criteria))
                      .build();
          } else {
              List<TranslationRepresentation> translations = translationFinder.findTranslations(locale);
              if (!translations.isEmpty()) {
                  response = Response.ok(translations).build();
              }
          }
          return response;
      }
docs: Returns filtered translation with pagination.
  
  @param pageIndex  page index
  @param pageSize   page size
  @param isMissing  filter indicator on missing translation
  @param isApprox   filter indicator on approximate translation
  @param isOutdated filter indicator on outdated translation
  @param searchName filter on key name
  @return status code 200 with filtered translations or 204 if no translation