<?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>Some translations are not showing,  English text still shows &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 11:42:39 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/#post-236408</guid>
					<title><![CDATA[Some translations are not showing,  English text still shows]]></title>
					<link>https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/#post-236408</link>
					<pubDate>Fri, 27 Mar 2015 12:12:12 +0000</pubDate>
					<dc:creator>Ironic</dc:creator>

					<description>
						<![CDATA[
						<p>Hi</p>
<p>I have an issue with certain text strings still showing in English (my site is in Swedish). I have checked different translation forum posts butI still can&#8217;t get this to work for me.</p>
<p>For instance I have issues with these texts:<br />
&#8220;Nothing to Show Right Now<br />
It appears whatever you were looking for is no longer here or perhaps wasn&#8217;t here to begin with. You might want to try starting over from the homepage to see if you can find what you&#8217;re after from there.&#8221;</p>
<p>The word &#8220;Search&#8221; in the actual search field</p>
<p>&#8220;Category Archive&#8221;</p>
<p>&#8220;SEARCH RESULTS FOR “x”&#8221;</p>
<p>&#8220;Leave a comment&#8221; under the titles of blog posts<br />
&#8212;&#8212;&#8212;</p>
<p>Here&#8217;s what I have tried so far:<br />
I have updated the default.po and default.mo files with poedit and uploaded them to wp-content/Themes/x/framework/lang.</p>
<p>I have also updated the sv_SE.po and sv_SE.mo files and uploaded them to wp-content/languages. </p>
<p>I tried out the recommendation from some forum post to update and rename the default.po/mo files to x-fi.po and x-fi.mo and upload them to wpcontent/languages/themes.</p>
<p>After the above actions didn&#8217;t work I also tried to install a plugin (by Loco translation management) to help me edit the PO-files directly within wordpress, and in there the translations are also correct. But still the English texts are somehow overriding these translations.</p>
<p>From what I can tell the translations are in place in all the po/mo files now, but the translated strings are not showing up on the site.<br />
FYI: In my wp-config.php it says &#8220;define(&#8216;WPLANG&#8217;, &#8216;sv_SE&#8217;);&#8221;</p>
<p>So there you have it. I am not a coder, so I&#8217;d rather not start editing php-files or try too advanced tricks unless it is really necessary, but I could sure use some help here. Very annoying issue indeed.</p>
<p>My site is <a href="http://www.rudiethefoodie.se" rel="nofollow">http://www.rudiethefoodie.se</a>, wordpress version 4.1.1–sv_SE, x version 3.2.3.</p>
<p>Thanks/Karin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/#post-236524</guid>
					<title><![CDATA[Reply To: Some translations are not showing,  English text still shows]]></title>
					<link>https://theme.co/archive/forums/topic/some-translations-are-not-showing-english-text-still-shows/#post-236524</link>
					<pubDate>Fri, 27 Mar 2015 15:35:49 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in! Please follow the instructions below. </p>
<p>First make sure that you setup a <a href="http://theme.co/x/member/kb/how-to-setup-child-themes/" title="Child Themes" target="_blank" rel="nofollow">child theme</a>. This allows you to make code changes that won&#8217;t be overwritten when an <strong>X</strong> update is released. After your child theme is setup, please review how we recommend making template changes in <a href="http://theme.co/x/member/kb/customization-best-practices/" rel="nofollow">Customization Best Practices</a>.</p>
<p><strong>#1.</strong> Copy the file <strong>_content-none.php</strong> from &#8220;X/framework/views/global/&#8221; and place it into your Child Theme&#8217;s respective location &#8220;X-child-{stack}/framework/views/global&#8221;. Now open the file and around the line 14 you find<br />
<code>&lt;h1 class=&quot;entry-title&quot;&gt;&lt;?php _e( &#039;Nothing to Show Right Now&#039;, &#039;__x__&#039; ); ?&gt;&lt;/h1&gt;</code><br />
You can replace the text &#8216;Nothing to Show Right Now&#8217; with your translation.<br />
Around line 17 you can find<br />
<code>&lt;p&gt;&lt;?php _e( &quot;It appears whatever you were looking for is no longer here or perhaps wasn&#039;t here to begin with. You might want to try starting over from the homepage to see if you can find what you&#039;re after from there.&quot;, &#039;__x__&#039; ); ?&gt;&lt;/p&gt;</code></p>
<p><strong>#2.</strong> To replace the wording &#8220;TYPE AND PRESS ENTER TO SEARCH&#8221;, please add the following code into your Child Theme&#8217;s <strong>functions.php</strong> file and replace the wording &#8220;New Search Text&#8221; with your own content. </p>
<pre><code>
add_filter( &#039;gettext&#039;, &#039;replace_search_string&#039;, 20, 3 );
function replace_search_string( $search_text, $text, $domain ) {
    if ( $text == &#039;Type and Press &amp;ldquo;enter&amp;rdquo; to Search&#039; ) return __( &#039;New Search Text&#039;, $domain );
    else return $search_text;
}
</code></pre>
<p><strong>#3.</strong> Copy <strong>_landmark-header.php</strong> file from &#8220;X/framework/views/{STACK}/&#8221; and place it into your Child Theme&#8217;s respective location &#8220;X-child-{stack}/framework/views/{STACK}/&#8221;. Now you can open the file and around line 24 you find</p>
<pre><code>&lt;h1 class=&quot;h-landmark&quot;&gt;&lt;span&gt;&lt;?php _e( &#039;Search Results&#039;, &#039;__x__&#039; ); ?&gt;&lt;/span&gt;&lt;/h1&gt;
 &lt;p class=&quot;p-landmark-sub&quot;&gt;&lt;span&gt;&lt;?php _e( &quot;Below you&#039;ll see everything we could locate for your search of &quot;, &#039;__x__&#039; ); echo &#039;&lt;strong&gt;&amp;ldquo;&#039;; the_search_query(); echo &#039;&amp;rdquo;&lt;/strong&gt;&#039;; ?&gt;&lt;/span&gt;&lt;/p&gt;</code></pre>
<p>Replace the text with your translation. </p>
<p><strong>#4.</strong> To change &#8220;Leave a comment&#8221;, add the following code into your child theme&#8217;s <strong>functions.php</strong> file and replace the text &#8220;ADD TEXT TO REPLACE WITH Leave a Comment HERE&#8221;.</p>
<pre><code>add_filter(&#039;gettext&#039;, &#039;translate_text_to_germen&#039;, 20, 3);

function translate_text_to_germen($ttxt, $txt, $d) {

   switch ($txt) {
      
      case &#039;Leave a Comment&#039;:
         return &#039;ADD TEXT TO REPLACE WITH Leave a Comment HERE&#039;; // Change text here
         break;
   }

   return $ttxt;

}
</code></pre>
<p><strong>#5.</strong> Please make sure to follow the instructions here (<a href="https://theme.co/x/member/forums/topic/change-child-theme-language/#post-6751" rel="nofollow">https://theme.co/x/member/forums/topic/change-child-theme-language/#post-6751</a>) to translate most of the content easily. You will have to use a software like poEdit and create your own translation file based on our default.po template.</p>
<p>Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

