         (or "")
         (clojure.string/replace "\\" ""))
     res-name))
+
+; paths and encodings
 
 (defn get-relative-path
   "Gets the path of a child relative to its parent."

                      .toString
                      xml/parse
                      :content))

(when (nil? @update?)
  (write-pref :update true))

(defn get-string
  "Returns the localized string for the given keyword."


(def update? (atom (read-pref :update)))
(def remote? (atom (read-pref :remote)))

(when (nil? @update?)
  (write-pref :update true))

; language

(def lang-files {"en" "values/strings.xml"
                 "ja" "values-ja/strings.xml"})
(def lang-strings (-> (get lang-files (.getLanguage (Locale/getDefault)))
