on 11-08-2018 9:34 AM
Hi Experts,
How can we achieve language change option in Fiori launchpad.
Requirment: Allow users to switch language in the Fiori Launchpad
Thanks and Regards,
RK
One option you can explore is develop a Fiori Launchpad plugin which allows users at runtime to select from a list of available languages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Saurabh for your thoughts.
Any idea how can I achieve so. Means by writing odata service and consume it on sap ui5 application?
Thanks and Regards
RK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello All,
I am working on this and below are the way to make it according to my requirement. Please help if I am doing anything wrong.
1) Will use same ui plugin mentioned in the below blog.
2) Plan is to create userid , new language & old language field in gateway data base followed by service creation.
3) Will put condition according to the comparison between new lang and old lang data if it is same then trigger English if diffrent then trigger any language according to the data and put switch case. One default entry will be there where both field have English. Once user choose select any language update the new language field and condition will there in the Init function to handle the same.
4) How to create odata model and access it in the Component.js to achieve all these scenario including update and condition. Your help will be appreciated.
Thanks and Regards
RK
I'm not sure whether there is a straightforward way of preserving the sap-language parameter in the URL for different values when doing logoff.
Normally on logging off the page redirects to the logoff URL specified in the logoff ICF service on the gateway (this is usually the Fiori Launchpad URL without any sap-language parameter - if you have this parameter then on logging off it will always load the logon page in this hard-coded language), you will need to find some way of adding the selected language parameter (sap-language=EN, sap-language=DE and so on, according to the language the user selects at runtime) to the logoff URL so that the setting preserves on the logon page as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No no I am recommending this for users as well, this is not for developers, I could not find easier and fastest way so far, that is why I have shared. Longest way is to re login
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
From a user experience point of view then, I'd ask how do your users access Fiori Launchpad in the first place - do they have an icon or a publish favourite that they click on? If so, you could publish another version for your other language (assuming you don't need to support too many) but using the sap-language= parameter in the URL that Sarhan pointed out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.