<?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: Gravity &#38; WPML alphabetic sort of translated country list?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list</link>
		<description>Gravity Support Forums Topic: Gravity &amp; WPML alphabetic sort of translated country list?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:22:26 +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/gravity-wpml-alphabetic-sort-of-translated-country-list" rel="self" type="application/rss+xml" />

		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-94525</link>
			<pubDate>Thu, 22 Nov 2012 18:12:43 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">94525@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;bump
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-92339</link>
			<pubDate>Sat, 17 Nov 2012 09:49:50 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">92339@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Chris,&#60;/p&#62;
&#60;p&#62;Could you point me to an example of how I'd sort a list alphabetically using form_pre_render?&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-88422</link>
			<pubDate>Wed, 07 Nov 2012 12:20:15 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">88422@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can sort the array using the PHP sort function.  In the function you use with gform_pre_render, you will read the array of translated countries, which should be out of order (if they were sorted based on US English before WPML did its magic) sort them, then repopulate the drop down with the newly sorted countries.  The issue will be with when WPML does its translation.  Hopefully it is done before gform_pre_render is called so you can actually see the out of order values and sort them, then use them in the form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-86213</link>
			<pubDate>Thu, 01 Nov 2012 10:53:14 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">86213@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris,&#60;/p&#62;
&#60;p&#62;I'm going to try a gform_pre_render filter.&#60;/p&#62;
&#60;p&#62;Would you have an example function of how i'd sort the drop down choices alphabetically?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-86165</link>
			<pubDate>Thu, 01 Nov 2012 09:03:31 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">86165@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;I think the filter you linked will only work on a list in the custom address form.&#60;/p&#62;
&#60;p&#62;Please add a country droplist as a custom field! it would make thing so much easier.&#60;/p&#62;
&#60;p&#62;I have 10 languages.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-86121</link>
			<pubDate>Thu, 01 Nov 2012 07:26:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">86121@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I just ran across this filter, not sure if it could be used somehow:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_countries&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_countries&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-86114</link>
			<pubDate>Thu, 01 Nov 2012 07:11:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">86114@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How many languages are you using?  Would it be possible to create a list of countries for each language and display the proper one based on the language selection?  This only works without too much trouble if you have just a couple languages.  I suppose that does not allow WPMU to do its translation though: you're just providing translated lists of countries for each language.  That sort of defeats the purpose of the WPML plugin.  But, I can't see another way of doing it without digging in to how WPML translates the drop down and when that actually happens.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-85837</link>
			<pubDate>Wed, 31 Oct 2012 15:01:22 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">85837@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using the bulk-add feature to add the country list, then adding an additional &#34;Select a country&#34; item to the top of the drop list.&#60;/p&#62;
&#60;p&#62;So i suppose this adds an extra level of complexity to the situation as well.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-85810</link>
			<pubDate>Wed, 31 Oct 2012 14:22:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85810@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I did see this topic at the WPML forums:&#60;br /&#62;
&#60;a href=&#34;http://wpml.org/forums/topic/sorting-of-dropdown-menus/&#34; rel=&#34;nofollow&#34;&#62;http://wpml.org/forums/topic/sorting-of-dropdown-menus/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The only chance Gravity Forms would have at sorting the drop down would be after it's translated, with the gform_pre_render filter.  I'm not sure how you could go about working with the sorted list of countries.&#60;/p&#62;
&#60;p&#62;Would there be a way to use a different country drop down, already pre-sorted, based on the country selection?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>donaker on "Gravity &#38; WPML alphabetic sort of translated country list?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-wpml-alphabetic-sort-of-translated-country-list#post-85784</link>
			<pubDate>Wed, 31 Oct 2012 13:48:05 +0000</pubDate>
			<dc:creator>donaker</dc:creator>
			<guid isPermaLink="false">85784@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Would there be an easy way to sort a drop list of WPML translated countries?&#60;/p&#62;
&#60;p&#62;I'm using string translations for the country list.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
