as described in the implementation guide to successfully set the locale of the login form - and in this case it appears in Japanese as expected. But the ForgotPassword and Self-Reg links show the correct URLs but with the 'locale=us' parameter. How do I get the locale parameter passed to the loginwidgetcontroller to be passed through to those two links?", "datePublished": "2021-01-21T16:21:03.000Z", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://trailhead.salesforce.com/trailblazer-community/feed/0D54S000009cpXUSAY" }, "image": "https://trailblazers.salesforce.com/ncsphoto/AGHmNbGCib7JEKNZsgq6NgQtbZRxsR0dLHBn37RvrMvTWzip-IuqqGZIXj8-PYDnsOuBWNV5AbiaukmWmk7gWA%3D%3D", "about": [], "publisher": { "@type": "Organization", "name": "Trailhead", "url": "https://trailhead.salesforce.com", "@id": "https://trailhead.salesforce.com#Organization" }, "author": { "@type": "Person", "name": "Simon Parker", "url": "https://trailblazers.salesforce.com/profileView?u=0053A00000DguW0QAJ", "agentInteractionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/WriteAction", "userInteractionCount": 4 }, "affiliation": { "@type": "Organization", "name": "Malvern Panalytical" } }, "interactionStatistic": { "@type": "InteractionCounter", "interactionType": "https://schema.org/LikeAction", "userInteractionCount": 3 }, "comment": [ { "@type": "Comment", "text": "Thanks @Samuel Rosen https://trailblazers.salesforce.com/profileView?u=0054S000000i4GJQAY Case#40422836 opened", "author": { "@type": "Person", "name": "Simon Parker", "url": "https://trailblazers.salesforce.com/profileView?u=0053A00000DguW0QAJ" }, "datePublished": "2021-02-01T17:32:31.000Z" } ] } Skip to main content

Hi - when implementing Embedded log in, how do I pass the locale parameter from the embedded login page to the ForgotPassword and Self-Registration links that appear at the bottom of the modal login form? 

I'm using the script element :

<script async="" defer="" src="[my instance]/servlet/servlet.loginwidgetcontroller?type=javascript_widget&locale=jp"></script> as described in the implementation guide to successfully set the locale of the login form - and in this case it appears in Japanese as expected.

But the ForgotPassword and Self-Reg links show the correct URLs but with the 'locale=us' parameter.

 

How do I get the locale parameter passed to the loginwidgetcontroller to be passed through to those two links?

댓글 4개
0/9000