-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add support for external datasource #33
Comments
@haseelrefl I really so sorry I know its so late, but yes you are right, I'll work in this feature today, I'll back soon when I have some news. |
Thanks for the update. Great that you are able to work on the feature. It would be of great use. (Y) |
I preload localization to Dictionary:[String:String] from file in Documents Cache folder if it exists, or default from bundle. And then I use localize from dictionary. |
How do i load localization from application's documents directory? All i could find was from Bundle. |
@x2web How did you do? |
First of all let me thank you for the awesome library. It just saved me lots of code and helped keep things neat.
One feature I think would add value is option to add an external datasource other than App's Bundle. So, we could read from JSON files that is in application's documents directory. This helps to make the localisation files dynamic.
A simple use case would be the ability to push any changes to the strings to the app from server. The app could just replace contents in the documents directory. I am assuming we cannot alter contents in the Bundle. Correct me if I am wrong.
The text was updated successfully, but these errors were encountered: