code: @GET
      @Produces(MediaType.TEXT_PLAIN)
      @RequiresPermissions(I18nPermissions.KEY_READ)
      public Response exportTranslations() {
          final List<Key> keys = keyRepository.loadAll();
  
          return Response.ok(new StreamingOutput() {
  
              private boolean isFirstLine = true;
  
              @Override
              public void write(OutputStream os) throws IOException {
                  Writer writer = new BufferedWriter(new OutputStreamWriter(os, "UTF-8"));
                  for (Key key : keys) {
                      ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
                      renderer.render(byteArrayOutputStream, key, APPLICATION_CSV, printHeader(isFirstLine));
                      writer.write(byteArrayOutputStream.toString("UTF-8"));
                      isFirstLine = false;
                  }
                  writer.flush();
              }
          }).header(CONTENT_DISPOSITION, ATTACHMENT_FILENAME_I18N_CSV).build();
      }
docs: Streams a CSV file with all keys with their translations.
  
  @return an i18n.csv file