on 07-12-2021 12:00 PM
Hi
I extended an standard fiori application (my leave request) , this extension includes i18n and I did not change anything else.My Issue is :When I run the app its lables are in english but I expect to see Persian(FA) as I extend the App.
I want to set Specific language(for example: FA - Persian) in my Fiori application.
i did everything correct and my application translated, just the only thing that i want is my launchpad open in EN language and my desired app in FA Language.
now i want to know how can i ignore launchpad language for my Fiori application?
(if i choose 'FA' for launchpad at Logon Page , my application will be show in translated language but as i said i want to execute application in different language )
As you can see i tested every way that i knew(i tested these one by one):
data-sap-ui-ignoreUrIParams="true"
data-sap-ui-language="fa"
data-sap-ui-xx-supportedLanguages="fa"
Thanks & Regards.
Saeed.A
sap.ui.getCore().getConfiguration().setLanguage("fa")
check if it helps. it may change the whole launchpad...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
add this code in your component js.
var i18nModel = new ResourceModel({
bundleName: "YOURNAMESPACE.i18n.i18n",
bundleLocale:"fa"
});
this.setModel(i18nModel, "i18n");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again
First of all thank you for your answers
my problem solved but not completly 😞 let me exmplain
as i said before, it's extension project and there are restriction for codding anywhere so i added another extension(Extend Controller):
Then added these codes in it :
it works!!
My application executing in 'FA' language but it's not 'RTL'.
now i'm trying to change it from 'LTR' to 'RTL' direction.
i will be appreciate if you share any recommendation
Thanks & Regards
Saeed.A
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.