Cannot set up globalization in the extension application
You want to implement globalization (internationalization/localization) in your extension application and you are using the SAP SuccessFactors identity provider.
You can switch the application language depending on the SAML locale attribute which is propagated to your Java application during login.
See:
- Supported SAP SuccessFactors SAML attributes: SuccessFactors SAML 2.0 Technical Details
- Configure Trust to the SAML Identity Provider, step 5., Assertion-based attributes section.
- Consume user attributes in a Java application: User Attributes
Option 2
You can use the SAP SuccessFactors OData API.
If you get the current user profile ({odata_api_host}/odata/v2/User('<user_id>')), there is a property called defaultLocale that you can use.
See:
- OData API: Developer Guide
- User entity documentation