question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How can I set supported languages in a Fiori application?

See original GitHub issue

When we have a stand alone app that has index.html we can have something like data-sap-ui-xx-supportedLanguages="en,de" in the bootstrapping part to determine which languages are implemented in our app. In this case we will not see anymore an error like this:

https://webidetestingXXX.dispatcher.hana.ondemand.com/webapp/i18n/i18n_en_US.properties 404

because we determined that our app does not support en_US!

How can I do the same in a Fiori type application, I mean when we don’t have any index.html and it has only Component.js as the starting point!

I remember in the past we set that in manifest.json, but I am not sure!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RandomBytecommented, Aug 7, 2020

I see. Yes, the mentioned manifest.json configuration is only supported since UI5 1.77.

For lower releases there is apparently no application-level configuration.

1reaction
RandomBytecommented, Aug 7, 2020

I remember in the past we set that in manifest.json, but I am not sure!

You are absolutely right! You can configure the supported languages as well as the default fallback in your applications manifest.json.

Please see the chapter “Supported Locales and Fallback Locale” in this documentation: https://openui5.hana.ondemand.com/topic/ec753bc539d748f689e3ac814e129563

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I set supported languages in a Fiori application?
This manifest.json configuration is only supported since UI5 1.77. For lower releases there is apparently no application-level configuration.
Read more >
Supported Languages - SAP Help Portal
Language SAP Fiori Client Custom SAP Fiori Client Arabic (ar) 1.6 and later SDK 3.0 SP11 and later Czech (cs) 1.7 and later SDK 3.0...
Read more >
Changing the Language of SAP Fiori Apps - LUDECKE
To change the Fiori logon language, you first need to look for the end of the URL path, denoted by the .html extension,...
Read more >
Identifying the Language Code / Locale - Demo Kit - SAPUI5
The language can be set, for example, by using the following options: ... As of JDK 1.7 they are also supported by the...
Read more >
What is SAP Fiori? | Definition from TechTarget
SAP Fiori is a design language and user experience approach developed by SAP for use by SAP, its customers and its partners in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found