You need to sign in to do that
Don't have an account?
SUMAN KUMARI 70
How to open login page in Mobile app in corresponding language
I have a Mobile application that uses REST Services to provide the functionality. Mobile application is also multi-lingual and depends on the current device language. They have a Sign In button using which they do an OAUTH and Login page (specific to app) opens up. How can I send a language parameter in the OAUTH URL and then read that parameter to open the Login Page in the corresponding language (English/Spanish).
What you are trying to achieve is unfortunately not possible based on my knowledge
As per the documentation, the standard login pages for both Mobile SDK and Salesforce for Android and iOS are pre-authentication (meaning Salesforce does not know who you are), any org-specific profile-based settings such as language will not be recognized. The OAuth APIs do not support or honor query string input parameters to authentication endpoints and thus Mobile SDK and Salesforce for Android and iOS also share that limitation.
Suppose if you have a login url like this
Language parameter will be dropped at "RemoteAccessAuthorizationPage" and becomes English
It is the recommendation of Salesforce that users be encouraged to switch their device to the language of their choice in order to effectively render the standard login page in a preferred language/locale. This is the default behavior
If you find this information helpful, please mark this answer as Best. It may help others in the community
Anudeep