<?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[Filter Preferred Languages. Should contain only specific languages.]]></title><description><![CDATA[<p dir="auto">When adding the field "user.preferredLanguages" to a Form the options contain a huge liste of selectable languages.</p>
<p dir="auto">How can we configure it to contain only a few specific languages?</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1687942262749-dcf18b2d-c947-4096-84bd-cf249b52fbbc-image.png" alt="dcf18b2d-c947-4096-84bd-cf249b52fbbc-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1687942341671-f65858bc-267a-498d-a9f5-87a830e5f179-image.png" alt="f65858bc-267a-498d-a9f5-87a830e5f179-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://fusionauth.io/community/forum/topic/2432/filter-preferred-languages-should-contain-only-specific-languages</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 16:00:37 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/2432.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 28 Jun 2023 08:53:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Filter Preferred Languages. Should contain only specific languages. on Tue, 04 Jul 2023 02:31:08 GMT]]></title><description><![CDATA[<p dir="auto">Hiya <a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1985">@egli</a> !</p>
<p dir="auto">Thanks for posting it on GitHub issues. Please share the link so others discovering this issue can upvote it or see the progress on it.</p>
<p dir="auto">Currently there's no way to limit the inputs on the default select box.</p>
<p dir="auto">Two options.</p>
<p dir="auto">Since you are using a custom form, you could create your own select list with just the languages you want to support.</p>
<p dir="auto">Store this to a different value (<code>user.data.custom_preferred_languages</code>). You could then set up a <a href="https://fusionauth.io/docs/v1/tech/events-webhooks/events/user-create-complete" rel="nofollow ugc"><code>user.create.complete</code> webhook</a> to copy the value of <code>user.data.custom_preferred_languages</code> to user.preferredLanguages`. That way this language will be used in the future. (The initial email won't have that info, however).</p>
<p dir="auto">Another option would be to have a javascript function that would run whenever the <code>user.preferredLanguage</code> select box is displayed, and would trim the values down to what you desire.</p>
<p dir="auto">I realize this isn't the smoothest, but it should get you the control you want.</p>
]]></description><link>https://fusionauth.io/community/forum/post/6266</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6266</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Tue, 04 Jul 2023 02:31:08 GMT</pubDate></item><item><title><![CDATA[Reply to Filter Preferred Languages. Should contain only specific languages. on Mon, 03 Jul 2023 06:06:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> said in <a href="/community/forum/post/6262">Filter Preferred Languages. Should contain only specific languages.</a>:</p>
<blockquote>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1985">@egli</a> Are you using this from the admin screen?</p>
</blockquote>
<p dir="auto">I've added it here:</p>
<p dir="auto"><img src="/community/forum/assets/uploads/files/1688364162875-f8f19211-bfe7-4718-b8e8-49ee85f16e92-image.png" alt="f8f19211-bfe7-4718-b8e8-49ee85f16e92-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/20">@dan</a> said in <a href="/community/forum/post/6262">Filter Preferred Languages. Should contain only specific languages.</a>:</p>
<blockquote>
<p dir="auto">If so, this is not currently possible.</p>
</blockquote>
<p dir="auto">Is there any other way to add it and restrict the amount of languages?</p>
<p dir="auto">I'll post it on GH as well.</p>
]]></description><link>https://fusionauth.io/community/forum/post/6263</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6263</guid><dc:creator><![CDATA[egli]]></dc:creator><pubDate>Mon, 03 Jul 2023 06:06:18 GMT</pubDate></item><item><title><![CDATA[Reply to Filter Preferred Languages. Should contain only specific languages. on Sat, 01 Jul 2023 22:42:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://fusionauth.io/community/forum/uid/1985">@egli</a> Are you using this from the admin screen?</p>
<p dir="auto">If so, this is not currently possible. Please feel free to file a feature request explaining your desired use case: <a href="https://github.com/fusionauth/fusionauth-issues/issues" rel="nofollow ugc">https://github.com/fusionauth/fusionauth-issues/issues</a></p>
<p dir="auto">Thanks!</p>
]]></description><link>https://fusionauth.io/community/forum/post/6262</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/6262</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Sat, 01 Jul 2023 22:42:09 GMT</pubDate></item></channel></rss>