<?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: Language files in wp-content/languages</title>
		<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages</link>
		<description>Gravity Support Forums Topic: Language files in wp-content/languages</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 22:24:40 +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/language-files-in-wp-contentlanguages" rel="self" type="application/rss+xml" />

		<item>
			<title>Forsite Media on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12401</link>
			<pubDate>Wed, 10 Nov 2010 09:04:40 +0000</pubDate>
			<dc:creator>Forsite Media</dc:creator>
			<guid isPermaLink="false">12401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was not aware of that filter, thanks! I personally do have slight preference my version, but this works fine too, I guess.&#60;/p&#62;
&#60;p&#62;Thanks again Alex!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12355</link>
			<pubDate>Tue, 09 Nov 2010 13:33:52 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12355@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was in the process of adding the setting and I noticed that WordPress has a hook that allows you to change the path of the MO files, so I thought it would more &#34;proper&#34; to use that hook instead. Here is a code snippet to change the location to a languages folder in the root of the website&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;load_textdomain_mofile&#38;#39;, &#38;#39;change_mo_file_location&#38;#39;, 10, 2);
function change_mo_file_location($mofile, $domain){

    //remove the following two lines if you would like to set the path for all MO files
    if($domain != &#38;quot;gravityforms&#38;quot;)
        return $mofile;

    $pathinfo = pathinfo($mofile);
    return ABSPATH . &#38;quot;/languages/&#38;quot; . $pathinfo[&#38;quot;basename&#38;quot;];
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Forsite Media on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12343</link>
			<pubDate>Tue, 09 Nov 2010 12:16:45 +0000</pubDate>
			<dc:creator>Forsite Media</dc:creator>
			<guid isPermaLink="false">12343@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;w00t!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12340</link>
			<pubDate>Tue, 09 Nov 2010 11:31:19 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12340@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looks great Remkus. Thanks!&#60;br /&#62;
I will add that into 1.5. Keep posted for the next beta in a week or two.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Forsite Media on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12328</link>
			<pubDate>Tue, 09 Nov 2010 10:06:45 +0000</pubDate>
			<dc:creator>Forsite Media</dc:creator>
			<guid isPermaLink="false">12328@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Wouldn't adding another define to gravityforms.php do the trick?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if(!defined(&#38;quot;GRAVITY_LANGUAGES_URL&#38;quot;))&#38;lt;br /&#38;gt;
    define(&#38;quot;GRAVITY_LANGUAGES_URL&#38;quot;, &#38;quot;http://path-to-translationfi.le/&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and using that url in line 50 &#60;code&#62;load_plugin_textdomain( &#38;#39;gravityforms&#38;#39;, FALSE, &#38;#39;GRAVITY_LANGUAGES_URL&#38;#39; );&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That would allow us to add a define to for instance a functions.php file ..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Forsite Media on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12323</link>
			<pubDate>Tue, 09 Nov 2010 06:58:04 +0000</pubDate>
			<dc:creator>Forsite Media</dc:creator>
			<guid isPermaLink="false">12323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;A huge +1 for this request. This might not by high on your (as in GF) priority list, but for us international guys this would be a major time saver. I maintain more than 80 sites for clients and having to manually upload the translation files every time a GF update comes along is a pain ...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jan Egbert on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-12020</link>
			<pubDate>Wed, 03 Nov 2010 15:46:52 +0000</pubDate>
			<dc:creator>Jan Egbert</dc:creator>
			<guid isPermaLink="false">12020@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Does anyone have an idea? Maybe a snippet for functions.php?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jan Egbert on "Language files in wp-content/languages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/language-files-in-wp-contentlanguages#post-11947</link>
			<pubDate>Tue, 02 Nov 2010 12:16:51 +0000</pubDate>
			<dc:creator>Jan Egbert</dc:creator>
			<guid isPermaLink="false">11947@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Would it be possible to let the Gravity Forms plugin look for language files in &#60;code&#62;wp-content/lanuages/&#60;/code&#62;? It's really annoying to update all of the instances of the plugin by hand.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
