<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Localizing Social Login Button Text in FusionAuth Themes]]></title><description><![CDATA[<p dir="auto">Our users sign in via Google or Apple accounts. While testing internationalization, we noticed that the social login button text doesn’t change with the selected language. Is there a way to localize the social login buttons for different languages in FusionAuth?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/3001/localizing-social-login-button-text-in-fusionauth-themes</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 21:05:44 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/3001.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Jun 2025 04:38:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Localizing Social Login Button Text in FusionAuth Themes on Mon, 30 Jun 2025 04:39:58 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you can localize social login buttons, but it requires customizing your theme.</p>
<p dir="auto">In the Theme <strong>Helpers</strong> file, locate the macro for each IdP button—for example, the Google button macro (starting around line 409). Change the text like this:</p>
<p dir="auto">From:</p>
<pre><code>&lt;div class="text"&gt;${identityProvider.lookupButtonText(clientId)?trim}&lt;/div&gt;
</code></pre>
<p dir="auto">To:</p>
<pre><code>&lt;div class="text"&gt;${theme.message('google-login')}&lt;/div&gt;
</code></pre>
<p dir="auto">Then, define <strong>google-login</strong> in your <strong>Theme → Messages</strong> bundles for each supported language. Repeat the same process for the Apple button macro (starting around line 363).</p>
<p dir="auto">This allows the social login button text to display localized strings based on the user’s selected language.</p>
]]></description><link>https://fusionauth.io/community/forum/post/8207</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8207</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Mon, 30 Jun 2025 04:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to Localizing Social Login Button Text in FusionAuth Themes on Mon, 30 Jun 2025 04:39:58 GMT]]></title><description><![CDATA[<p dir="auto">Yes, you can localize social login buttons, but it requires customizing your theme.</p>
<p dir="auto">In the Theme <strong>Helpers</strong> file, locate the macro for each IdP button—for example, the Google button macro (starting around line 409). Change the text like this:</p>
<p dir="auto">From:</p>
<pre><code>&lt;div class="text"&gt;${identityProvider.lookupButtonText(clientId)?trim}&lt;/div&gt;
</code></pre>
<p dir="auto">To:</p>
<pre><code>&lt;div class="text"&gt;${theme.message('google-login')}&lt;/div&gt;
</code></pre>
<p dir="auto">Then, define <strong>google-login</strong> in your <strong>Theme → Messages</strong> bundles for each supported language. Repeat the same process for the Apple button macro (starting around line 363).</p>
<p dir="auto">This allows the social login button text to display localized strings based on the user’s selected language.</p>
]]></description><link>https://fusionauth.io/community/forum/post/8207</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/8207</guid><dc:creator><![CDATA[wesley]]></dc:creator><pubDate>Mon, 30 Jun 2025 04:39:58 GMT</pubDate></item></channel></rss>