We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 612ac6f commit 14ce93eCopy full SHA for 14ce93e
README.md
@@ -75,7 +75,8 @@ import { localize } from "nativescript-localize";
75
console.log(localize("Hello world !"));
76
```
77
78
-### Javascript
+### Javascript / XML
79
+
80
#### app.js
81
```js
82
const application = require("application");
@@ -96,6 +97,15 @@ const localize = require("nativescript-localize");
96
97
98
99
100
+#### Quirks
101
+⚠️ If you notice translations work on your main XML page, but don't work on a page you
102
+navigate to, then add this little hack to the 'page loaded' function of that new page:
103
104
+```js
105
+ const page = args.object;
106
+ page.bindingContext = new Observable();
107
+````
108
109
### Vue
110
111
0 commit comments