-
Notifications
You must be signed in to change notification settings - Fork 7
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
Package loads languages from server, not from Cordova's local storage #3
Comments
That's strange behaviour. I've just tested with cordova using
Are you sure that issue #2 was solved using Failing that, could you provide a reproduction? Thanks! |
same for me
shouldnt the file from |
@miri-am what is your Also what version of tap:i18n ? thanks |
Nevermind, now it works again. I am not sure what the reason was (might have been an extra
|
Excellent - good to hear. It may be that |
little revision. My config from above throws a jsonerror outside of cordova. Seems like I need to use the following config:
The cdn_path needs to be without the |
the |
you are correct. Seems to be working after removal. Thanks! |
If this package is used on a Cordova device, it still tries to load the language file from the server instead of the local storage (http://meteor.local). This has two effects:
No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://meteor.local' is therefore not allowed access.
This is because the Meteor server is considered as being a different location than the local storage and it does not send a CORS compliant header.
I would have expected that this package is intended to load the language files from the local Cordova filesystem, using the http://meteor.local location. Otherwise, it does not make much sense to me to store the files locally. Did I get something wrong?
The text was updated successfully, but these errors were encountered: