-
Notifications
You must be signed in to change notification settings - Fork 31
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
prevent data loss. in strings.xml #88
base: master
Are you sure you want to change the base?
Conversation
data loss prevention. (settings, facebookIds etc..) In your default lang file add: "protected" : { "exactId": "value" } example: "protected": { "fb_login_protocol_scheme": "xxx", "facebook_app_id": "xxx" } Everything inside protected. will be added as is. thus keeping important strings inside strings.xml
Missed to delete the first encodedI18nEntries.set line. Also added ios plist filter.
I am actually needing this to translate keys that are present in preferences.xml. |
Hey! any plans to merge this? |
This is the perfect fix for a problem I'm having, any plans on merging? |
Hi there, in the current 5.0.4 version this feature is not working... any updates? Thanks! |
@relez in case you want to try I have stopped using this plugin and wrote my own |
Hey @farfromrefug thanks for the plugin, I switched to your code and its working fine, one quick question, I have this code for Android platform in main.ts file: import { androidLaunchEventLocalizationHandler } from '@nativescript-community/l'; I have an error that says that there is no such export. Does your plugin works without that code? Quick question, I am using push notifications and I need to translate the incoming notifications, in the generated files Thanks! |
@relez if you have more question please ask on discord. Howeveer i ll answer it as it might help other peoples Now you need to know about the main difference in my plugin. My plugin is much faster if you something like this:
What it does is NOT use the native way to translate keys. In
Thanks about tit |
data loss prevention.
(settings, facebookIds etc..)
In your default lang file add:
"protected" : {
"exactId": "value"
}
example:
"protected": {
"fb_login_protocol_scheme": "xxx",
"facebook_app_id": "xxx"
}
Everything inside protected. will be added as is.
thus keeping important strings inside strings.xml