public void scheduleRefresh() {
        if (!this.plugin.getConfiguration().get(ConfigKeys.AUTO_INSTALL_TRANSLATIONS)) {
            return; // skip
        }

        this.plugin.getBootstrap().getScheduler().executeAsync(() -> {
            // cleanup old translation files
            clearDirectory(this.plugin.getTranslationManager().getTranslationsDirectory(), Files::isRegularFile);

            try {
                refresh();
            } catch (Exception e) {
                // ignore
            }
        });
    }
Schedules a refresh of the current translations if necessary.
common/src/main/java/me/lucko/luckperms/common/locale/TranslationRepository.java