diff --git a/README.md b/README.md index 269aa65..a9a0ff1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ public class Test { String crowdinFilePath = "/hikari/quickshop-bukkit/src/main/resources/lang/example.yml"; CrowdinOTA crowdinOTA = new CrowdinOTA(distributionUrl, myCacheFolder); // I/O blocking operation, when you create a OTAFileInstance, it will download all translations - OTAFileInstance fileInstance = crowdinOTA.getOtaInstance().getFileInstance(crowdinFilePath, autoDownload); + OTAFileInstance fileInstance = crowdinOTA.getOtaInstance().getFileInstance(crowdinFilePath); // Now get your translations! System.out.println(fileInstance.getLocaleContentByCrowdinCode("zh-CN")); System.out.println(fileInstance.getLocaleContentByCustomCode("locale", "uk-UA")); @@ -45,4 +45,4 @@ We're on Maven Central. crowdinota 1.0.1 -``` \ No newline at end of file +```