private void clearDirectory(Path directory, Predicate<Path> predicate) {
        try {
            Files.list(directory)
                    .filter(predicate)
                    .forEach(p -> {
                        try {
                            Files.delete(p);
                        } catch (IOException e) {
                            // ignore
                        }
                    });
        } catch (IOException e) {
            // ignore
        }
    }
Schedules a refresh of the current translations if necessary.
common/src/main/java/me/lucko/luckperms/common/locale/TranslationRepository.java