private void writeLastRefreshTime() {
        Path statusFile = this.plugin.getTranslationManager().getRepositoryStatusFile();

        try (BufferedWriter writer = Files.newBufferedWriter(statusFile, StandardCharsets.UTF_8)) {
            JsonObject status = new JsonObject();
            status.add("lastRefresh", new JsonPrimitive(System.currentTimeMillis()));
            GsonProvider.prettyPrinting().toJson(status, writer);
        } catch (IOException e) {
            // ignore
        }
    }
Downloads and installs translations for the given languages.

@param languages the languages to install translations for
@param sender the sender to report progress to
@param updateStatus if the status file should be updated
common/src/main/java/me/lucko/luckperms/common/locale/TranslationRepository.java