<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: change languages for one form only?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only</link>
		<description>Gravity Support Forums Topic: change languages for one form only?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:25:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/change-languages-for-one-form-only" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "change languages for one form only?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only#post-17850</link>
			<pubDate>Mon, 07 Feb 2011 17:04:51 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">17850@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Remove the last line and try again. Other than that, the code looks right.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_name_first&#38;quot;, &#38;quot;change_name_first&#38;quot;, 10, 2);
function change_name_first($label, $form_id){
       return &#38;#39;toto&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Smith on "change languages for one form only?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only#post-17847</link>
			<pubDate>Mon, 07 Feb 2011 17:03:14 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">17847@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You shouldn't need the &#34;apply_filters&#34; line as Gravity Forms will process the hook when required. I tested your code without that line and it is working fine on my localhost.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>netagence on "change languages for one form only?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only#post-17817</link>
			<pubDate>Mon, 07 Feb 2011 11:41:53 +0000</pubDate>
			<dc:creator>netagence</dc:creator>
			<guid isPermaLink="false">17817@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;br /&#62;
I have exactly the same need but didn't manage to get a result.&#60;br /&#62;
I implemented in functions.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_name_first&#38;quot;, &#38;quot;change_name_first&#38;quot;, 10, 2);
function change_name_first($label, $form_id){
       return &#38;#39;toto&#38;#39;;
}
apply_filters( &#38;#39;gform_name_first&#38;#39;, array(&#38;#39;prenom&#38;#39;,1));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but it didn't work&#60;br /&#62;
What did I do wrong?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "change languages for one form only?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only#post-17390</link>
			<pubDate>Tue, 01 Feb 2011 06:51:00 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">17390@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You will need to use the available hooks to translate the sublabels (for the name, address and file upload fields) and the validation message. NOTE: Remember to replace the form IDs in the code snippets below with your form IDs.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_name_first&#38;quot;, &#38;quot;change_name_first&#38;quot;, 10, 2);
function change_name_first($label, $form_id){
     if($form_id == 12)
       return &#38;quot;German First Name&#38;quot;;
     else if($form_id == 13)
       return &#38;quot;First Name&#38;quot;;
     else
       return $label;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Following are all the available sub-label hooks.&#60;/p&#62;
&#60;p&#62;    * gform_name_prefix&#60;br /&#62;
    * gform_name_first&#60;br /&#62;
    * gform_name_last&#60;br /&#62;
    * gform_name_suffix&#60;br /&#62;
    * gform_address_street&#60;br /&#62;
    * gform_address_street2&#60;br /&#62;
    * gform_address_city&#60;br /&#62;
    * gform_address_state&#60;br /&#62;
    * gform_address_zip&#60;br /&#62;
    * gform_address_country&#60;br /&#62;
    * gform_postimage_file&#60;br /&#62;
    * gform_postimage_title&#60;br /&#62;
    * gform_postimage_caption&#60;br /&#62;
    * gform_postimage_description &#60;/p&#62;
&#60;p&#62;Use the following to translate the validation message&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_validation_message&#38;quot;, &#38;quot;change_message&#38;quot;, 10, 2);
function change_message($message, $form){
     if($form[&#38;quot;id&#38;quot;] == 12)
        return &#38;quot;German validation message&#38;quot;;
    else if($form[&#38;quot;id&#38;quot;] == 13)
        return &#38;quot;English validation message&#38;quot;;
   else
        return $message;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>lindebjerg on "change languages for one form only?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-languages-for-one-form-only#post-17297</link>
			<pubDate>Mon, 31 Jan 2011 06:56:48 +0000</pubDate>
			<dc:creator>lindebjerg</dc:creator>
			<guid isPermaLink="false">17297@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a site in Danish, translation is working fine, &#60;a href=&#34;http://kirstendyrum.com/&#34; rel=&#34;nofollow&#34;&#62;http://kirstendyrum.com/&#60;/a&#62;&#60;br /&#62;
but I wan´t a single form to be in English and one in German. How can I change the language for one form “manually”?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
