<?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: Strange plugin translation problem</title>
		<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem</link>
		<description>Gravity Support Forums Topic: Strange plugin translation problem</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:24:14 +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/strange-plugin-translation-problem" rel="self" type="application/rss+xml" />

		<item>
			<title>saverio.daronco on "Strange plugin translation problem"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem#post-156517</link>
			<pubDate>Thu, 28 Feb 2013 04:26:24 +0000</pubDate>
			<dc:creator>saverio.daronco</dc:creator>
			<guid isPermaLink="false">156517@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Pau,  your suggestion solved the same problem I faced with an Italian-German WP installation.&#60;br /&#62;
Wainting for a plugin update to solves the problem officially.&#60;br /&#62;
Saverio
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Strange plugin translation problem"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem#post-151721</link>
			<pubDate>Thu, 21 Feb 2013 14:53:40 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">151721@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've let our developers know about it. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pau.artigas on "Strange plugin translation problem"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem#post-151703</link>
			<pubDate>Thu, 21 Feb 2013 14:18:26 +0000</pubDate>
			<dc:creator>pau.artigas</dc:creator>
			<guid isPermaLink="false">151703@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;wp-config is set to spanish, but other plugins get the locale from WPML, that is why is &#34;strange&#34;. With this information you gave me I did some more searching and I found this &#60;a href=&#34;http://www.foxrunsoftware.net/articles/wordpress/writing-plugin-localize-by-wpml/&#34; rel=&#34;nofollow&#34;&#62;page&#60;/a&#62; that explains why some plugins got the WPML language while gravity forms don't. I changed the gravity forms code and now it works as I expected.&#60;/p&#62;
&#60;p&#62;To summarize the content on the page:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
Moving the call to load_plugin_textdomain() to the init action gave WPML time to set the locale first:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action( &#38;#39;init&#38;#39;, &#38;#39;plugin_init&#38;#39; );

function plugin_init() {
  // localization in the init action for WPML support
  load_plugin_textdomain( &#38;#39;my_textdomain&#38;#39;, false, dirname( plugin_basename( __FILE__ ) ) . &#38;#39;/languages&#38;#39; );
}&#60;/code&#62;&#60;/pre&#62;
&#60;/blockquote&#62;
&#60;p&#62; I have changed the code in my install, but that will break the updates, can you evaluate changing your code to make the plugin fully WPML compatible? I don't know if it breaks anything (in my quick test didn't find anything wrong), but it will be a plus, besides, WPML lists gravity forms as a multilingual form plugin, so it will play nice.&#60;br /&#62;
Thanks for your help&#60;br /&#62;
Pau
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Strange plugin translation problem"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem#post-151688</link>
			<pubDate>Thu, 21 Feb 2013 13:18:37 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">151688@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What is your WordPress set to in wp-config? If the language is defined as Spanish, then that's what Gravity Forms would use.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pau.artigas on "Strange plugin translation problem"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/strange-plugin-translation-problem#post-151666</link>
			<pubDate>Thu, 21 Feb 2013 12:35:37 +0000</pubDate>
			<dc:creator>pau.artigas</dc:creator>
			<guid isPermaLink="false">151666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
  I have gravity forms in conjunction with wpml's gravity forms multilingual and I can translate the form I have created fine, but I have a problem with the plugin translation.&#60;br /&#62;
  I have two languages in wpml, catalan and spanish, being catalan the default one. The problem I have is that I have created a (very basic) catalan .mo, but (with the web in catalan) the form errors (required fields for instance) are shown in spanish. Locale is &#34;ca&#34; and works fine with wp or nextgen gallery, but even, I tried different .mo names or tried using a valid .mo (finnish one specifically) to see if the problem was my .mo file. But the form error messages still appear in spanish.&#60;br /&#62;
  Another strange thing is that in admin everything is shown in catalan (wordpress, nextgen gallery, ...), but gravity forms is shown in spanish! Should not default to english if catalan translation is not present? I also tried changing some admin strings in the catalan translation, but everything was still shown in spanish.&#60;br /&#62;
Any help would be appreciated!&#60;br /&#62;
Thanks in advance&#60;br /&#62;
Pau
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
