diff --git a/project.clj b/project.clj index 205932d..bee86d2 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.simon_brooke/internationalisation "1.0.0" +(defproject org.clojars.simon_brooke/internationalisation "1.0.1" :description "Internationalisation library for Clojure" :url "https://github.com/simon-brooke/internationalisation" :license {:name "Eclipse Public License" diff --git a/src/scot/weft/i18n/core.clj b/src/scot/weft/i18n/core.clj index b0df4e8..99fcc9b 100644 --- a/src/scot/weft/i18n/core.clj +++ b/src/scot/weft/i18n/core.clj @@ -148,7 +148,10 @@ (slurp (or file-path - (str resource-path default-locale ".edn")))))) + (.getAbsolutePath + (io/file + resource-path + (str default-locale ".edn")))))))) (def get-messages