-
Notifications
You must be signed in to change notification settings - Fork 88
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
Cordova offline support? #93
Comments
There will be a new feature for v1.6 that might help with that as a side effect, but can't be sure as it is built to serve other purpose (langs preload). If you can wait I believe that in the following months it will be developed. If you can't wait, and you have budget to put into this feature development you are welcome to contact me by email daniel@meteorspark.com . Thanks, |
Bump. I'd also like to see offline Cordova support for tap-i18n. And no, unfortunately I don't have a budget to finance this :-) So if there are not plans to develop this in the future, I will have to look for another solution as well. Hence, @theosp: Are there any updates on the 1.6 feature you mentioned? |
Hi, rc for v1.6 is ready on the v1.6-rc1 branch but the support added there to Due to the fact that during the build process files are built in a way that -Daniel On Fri, Sep 4, 2015 at 9:01 PM, Tom Brückner notifications@github.com
|
Thanks for coming back with these insights. I think, for Cordova it would be best if all language files are added to the build. This would also ensure that every build update pushed to the mobile client (via hot code reload) also pushes the language files there. Having the files on the client for latency compensation is more important than saving bandwidth, IMHO. Of course, it would be great if they were not all loaded into the client's memory at the same time, but loaded on demand instead (via the http://meteor:local protocol inside the Cordova app). |
Loading all the lang files to the build for the Cordova arch is tricky too... tap:i18n was designed to be in use by both packages and the app itself. From the app build process I don't have access to the already-built i18n files of the packages the app is using - I don't even know that they exist in the build plugin context. Which means that I can't come up with a single unified asset to be built for Cordova. Therefore, building and loading all the languages asset in Cordova will have to be more sophisticated to work. By the way, adding languages files to the build for Cordova will be a breaking change that will require a new major release. -Daniel |
I've tried a few approaches, but as Daniel says the behaviour and order of the Couldn't find a perfect workaround. But hopefully this is better than nothing: https://github.com/TAPevents/i18n-bundler |
Thanks for this package, will give it a try! |
Great job @hitchcott . Added a note about this package to the README, with that, I think we can finally close this issue. -Daniel |
Reopening, high-likely that it can be implemented with v1.2 new build plugins API as part of tap:i18n core. |
Sounds good! |
🎆 |
+1 |
As I am getting closer to a public launch of my app, any progress on this would be highly appreciated. |
The It is rather simple to integrate. |
Great, forgot about this new package. Thanks for reminding. |
Hello,
do you have an estimate on when will this plugin support Cordova apps that operate offline? Not having a robust i18n support for offline apps is the only thing stopping me from doing a project in meteor...
Thanks
The text was updated successfully, but these errors were encountered: