Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading entire dict from resource #14

Open
Macroz opened this issue May 23, 2017 · 0 comments
Open

Loading entire dict from resource #14

Macroz opened this issue May 23, 2017 · 0 comments

Comments

@Macroz
Copy link

Macroz commented May 23, 2017

Hi,

I can see the :__load-resource functionality but I gather it only works for loading a specific language from a resource file as in the example. How about exposing the internal load-resource function so that one can use it to load the entire dictionary from one file or support having a dict with only :__load-resource in it.

So something like these

(def tconfig
  {:dict
   (load-resource "translations/translations.edn")})

or

(def tconfig
  {:dict
   {:__load-resource "translations/translations.edn"}})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants