<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fn!keyval and language bundles</title><link>https://community.appian.com/discussions/f/general/14969/fn-keyval-and-language-bundles</link><description>Hello! I&amp;#39;m working on internationalization. I&amp;#39;ve been able to create my language bundle, and I&amp;#39;ve uploaded it into sandbox. I want to use the keyval() function to return a value associated with one of the keys in my language bundle. How do I do so? Thank</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Fn!keyval and language bundles</title><link>https://community.appian.com/thread/66942?ContentTypeID=1</link><pubDate>Sat, 01 Jun 2019 14:05:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ac5dc7d7-fc6c-479c-896e-15c5e6873dcc</guid><dc:creator>PRATEEK BHATTI</dc:creator><description>&lt;p&gt;Hi Benjamin,&lt;/p&gt;
&lt;p&gt;You may use fn!localBundle function (&amp;quot;Loads a resource bundle stored in the Appian Document Management system and returns a dictionary of label value pairs.) and pass your language bundle as an input.This function will return a dictionary for all the key value pairs defined in the language file that you will provide as an input.&lt;br /&gt;Once you have key values dictionary then you can search the values through keys.Refer the below code snippet:&lt;/p&gt;
&lt;p&gt;local!bundle:fn!loadbundle(&lt;br /&gt; ri!languageBundle /*the language file as per user&amp;#39;s locale*/ &lt;br /&gt; ),&lt;/p&gt;
&lt;p&gt;local!result: index(local!bundle,ri!key,&amp;quot;&amp;quot;)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>