<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>

		<title>How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/feed/</link>
		<description></description>
		<lastBuildDate>Mon, 20 Oct 2025 07:47:18 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-153650</guid>
					<title><![CDATA[How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-153650</link>
					<pubDate>Thu, 27 Nov 2014 01:49:14 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Hello everyone, I&#8217;ve tried a lot to translate the line &#8220;I’ve read and accept the terms &amp; conditions&#8221; in the checkout page and I haven&#8217;t been able to do so, I&#8217;ve tried the following code I saw in another page and it didn&#8217;t work (put it in the functions php of my child theme.</p>
<pre><code>add_filter(&#039;gettext&#039;, &#039;translate_text&#039;);
add_filter(&#039;ngettext&#039;, &#039;translate_text&#039;);
function translate_text($translated) {
$translated = str_ireplace(&#039;Billing Details&#039;, &#039;Detalles de compra&#039;, $translated);
$translated = str_ireplace(&#039;I’ve read and accept the&#039;, &#039;He leido y aceptado expresamente los&#039;, $translated);
$translated = str_ireplace(&#039;terms &amp; conditions&#039;, &#039;términos y condciones&#039;, $translated);
return $translated;</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-153972</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-153972</link>
					<pubDate>Thu, 27 Nov 2014 13:44:15 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for posting in.</p>
<p>Have you tried using a translation plugin like WPML? You could use their manual string translation.</p>
<p>Or this,</p>
<pre><code>add_filter (&#039;gettext&#039;, &#039;x_translate_text&#039;, 99, 3 );

function x_translate_text ( $translated_text, $text, $domain ) {

$translation = array (
&#039;Billing Details&#039; =&gt; &#039;Detalles de compra&#039;,
&#039;I\&#039;ve read and accept the terms &amp; conditions&#039; =&gt; &#039;He leido y aceptado expresamente los términos y condciones&#039;
);

if( isset( $translation[$text] ) ) {
return $translation[$text];
}

return $translated_text;

} </code></pre>
<p>The $translation = array() contains the original string and the translation string. The original string should match the extract string you wish to translate. Any space or mismatched characters  will invalidate the translation.</p>
<p>Hope this helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-156820</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-156820</link>
					<pubDate>Tue, 02 Dec 2014 19:44:20 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, Ive tried your solution but it didn&#8217;t work, does it go on the childtheme funcitions.php or where?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-157038</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-157038</link>
					<pubDate>Tue, 02 Dec 2014 23:36:39 +0000</pubDate>
					<dc:creator>Nabeel A</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>You&#8217;ll need to place the given code in your child theme&#8217;s functions.php file. Also did you install the WPML plugin?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-204586</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-204586</link>
					<pubDate>Thu, 12 Feb 2015 04:04:00 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, your solution worked until tonights update, what can i do? Thanks in advance!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-205326</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-205326</link>
					<pubDate>Thu, 12 Feb 2015 21:55:16 +0000</pubDate>
					<dc:creator>Nico</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Did it alter the any changes with your child theme funcitions.php? or was it a WPML compatibility issue?</p>
<p>if nothing was altered or you did not use the WPML, you could try clearing your cache if it helps.</p>
<p>Hope it works. if not let us know.</p>
<p>Thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-206668</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-206668</link>
					<pubDate>Sat, 14 Feb 2015 18:45:38 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, here is how I have it added in my childrens theme functions.php</p>
<pre><code>add_filter (&#039;gettext&#039;, &#039;x_translate_text&#039;, 99, 3 );

function x_translate_text ( $translated_text, $text, $domain ) {

$translation = array (

&#039;Billing Details&#039; =&gt; &#039;Detalles de compra&#039;,

&#039;I’ve read and accept the &#039; =&gt; &#039;He leido y aceptado expresamente los términos y condiciones&#039;

);

if( isset( $translation[$text] ) ) {

return $translation[$text];

}

return $translated_text;

}
</code></pre>
<p>I&#8217;ve cleared the cache and this doesn&#8217;t work still, I don&#8217;t get it either why it stopped working! Thanks for your help!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-206680</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-206680</link>
					<pubDate>Sat, 14 Feb 2015 19:08:15 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Sorry I forgot to say I don&#8217;t use WPML.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-207155</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-207155</link>
					<pubDate>Sun, 15 Feb 2015 21:54:02 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Please use the exact code given 🙂</p>
<p>Please observe this :</p>
<pre><code>$translation = array (
&#039;Billing Details&#039; =&gt; &#039;Detalles de compra&#039;,
&#039;I\&#039;ve read and accept the terms &amp; conditions&#039; =&gt; &#039;He leido y aceptado expresamente los términos y condciones&#039;
);</code></pre>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-214174</guid>
					<title><![CDATA[Reply To: How to translate the &quot;I’ve read and accept the terms &amp; conditions&quot; to spanish]]></title>
					<link>https://theme.co/archive/forums/topic/how-to-translate-the-ive-read-and-accept-the-terms-conditions-to-spanish/#post-214174</link>
					<pubDate>Tue, 24 Feb 2015 18:47:52 +0000</pubDate>
					<dc:creator>Minstedpc</dc:creator>

					<description>
						<![CDATA[
						<p>Hello, I tried with the complete code, with the exact code and still doesn&#8217;t work, here is the code:</p>
<pre><code>add_filter (&#039;gettext&#039;, &#039;x_translate_text&#039;, 99, 3 );

function x_translate_text ( $translated_text, $text, $domain ) {

$translation = array (
&#039;Billing Details&#039; =&gt; &#039;Detalles de compra&#039;,
&#039;I\&#039;ve read and accept the terms &amp; conditions&#039; =&gt; &#039;He leido y aceptado expresamente los términos y condiciones&#039;
);

if( isset( $translation[$text] ) ) {
return $translation[$text];
}

return $translated_text;

} </code></pre>
<p>What could the problem be?</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

