on 01-19-2021 9:44 AM
Hello MDK- Team,
I have a few questions about logging prozess for MDK Client. After the logging process always the popup with question "update confirm" appears even there are no changes. Can this be suppressed and appears only after code changes? (If the user logged on to client and the login token is valid this works fine).
The second question concerns the language when registering and connecting with SAP- backend. The client language in branding.json is set to 'de'. ("DefaultAppLanguage" : "de") in the app lagguage is set to 'de' but english texts are still displayed during the login process. This usually changes to 'de' language after the first login but not every time some times still 'en'. The problem the wrong language transmitted in the http header for cummnication with the SAP backend. How can I set the right language already at the registration process. I didn't really understand how it works ? (Client 5.1 ) Thank you, Robert
If you are using either the App/Play store client or your own client without default metadata you will see this popup after onboarding if the Mobile Services application you are connected to has metadata deployed to App Update. If you choose not to apply the update, the client will automatically check when you re-launch the client, return from the background and at intervals while the application is running.
This message is controlled by the OnWillUpdate event in your application. As the developer you can create your own message prompt as well as apply any logic you want in this event (including either automatically applying without any prompt or suppressing prompting and use of any metadata in the Mobile Services App Update).
Regarding your second question, I believe the default language is for the backend connection. The onboarding screens should be displaying based on the device language / region settings. You should also make sure you service connection has the language url parameter defined to send the language to the backend for the data to be returned in the correct language.
"LanguageURLParam": "sap-language",
Assuming you created your application pages to use language strings from the i18n files then assuming the appropriate translations exist your UI should render based on the device setting or specific language selection make within your application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.