<?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>X overrides parts woocommerce translation &#8211; Themeco Community</title>
		<atom:link href="https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/feed/" rel="self" type="application/rss+xml" />
		<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/feed/</link>
		<description></description>
		<lastBuildDate>Sat, 11 Oct 2025 11:06:47 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.14</generator>
		<language>en-US</language>

		
														
					
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243525</guid>
					<title><![CDATA[X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243525</link>
					<pubDate>Tue, 07 Apr 2015 01:13:54 +0000</pubDate>
					<dc:creator>clmgatso</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I was wondering why X overrides the translation file of woocommerce. I my language (Dutch) woocommerce comes with a very good translation but it seems that parts are translated by X and other part by woo.</p>
<p>So what to do?</p>
<p>Best regards Clint<br />
Cdeco.nl</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243577</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243577</link>
					<pubDate>Tue, 07 Apr 2015 04:27:11 +0000</pubDate>
					<dc:creator>Darshana</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Thanks for writing in! This is because we modify the WooCommerce templates within X. You’ll need to fully translate X for the strings to be translated in WooCommerce. This is why the default translation isn’t applying. We include po and mo files in the language folder of the theme.</p>
<p>Right now we don’t have translation files available, but this is something we’re working on offering to everyone.</p>
<p>Please refer to the following (<a href="https://theme.co/x/member/forums/topic/woocommerce-problems/#post-108235" rel="nofollow">https://theme.co/x/member/forums/topic/woocommerce-problems/#post-108235</a>). </p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243800</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243800</link>
					<pubDate>Tue, 07 Apr 2015 12:36:28 +0000</pubDate>
					<dc:creator>clmgatso</dc:creator>

					<description>
						<![CDATA[
						<p>Ok, I&#8217;ll take a look.</p>
<p>Thank you.</p>
<p>Best regards.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243808</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-243808</link>
					<pubDate>Tue, 07 Apr 2015 12:43:30 +0000</pubDate>
					<dc:creator>Christopher</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re welcome.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-356570</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-356570</link>
					<pubDate>Wed, 12 Aug 2015 03:08:34 +0000</pubDate>
					<dc:creator>gbhuk</dc:creator>

					<description>
						<![CDATA[
						<p>Rather than start a new thread I thought I&#8217;d just tag onto the end of this one.</p>
<p>I just wasted a most frustrating afternoon trying to figure out why certain words and phrases in Woocommerce weren&#8217;t translating properly.  It turns that out some (but not all, ironically) of the Woocommerce standard words and phrases have been hijacked in X theme template to point to the __x__ domain instead of woocommerce.</p>
<p>I see a response above confirming this, saying &#8216;This is because we modify the WooCommerce templates within X. You’ll need to fully translate X for the strings to be translated in WooCommerce.&#8217;</p>
<p>My question (in response to the answer) is why?  Why not just leave the standard &#8216;woocommerce&#8217; translation domain alone in the template files?  I&#8217;ve been perfectly happy with the standard Woocommerce translation in other sites I&#8217;ve built with other templates. Why would X re-use exactly the same words and phrases in the X template as the standard Woocommerce ones, and yet effectively prevent woocommerce from translating automatically by pointing the domain to __x__, requiring customers to edit the X language files to get them working again?  What a pain.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-356965</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-356965</link>
					<pubDate>Wed, 12 Aug 2015 11:50:20 +0000</pubDate>
					<dc:creator>Zeshan</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>The fact that languages uses textdomain like namespaces, translation will only work on current textdomain which is <strong>__x__</strong>. Every theme or plugin, have their own text domain.</p>
<p>With woocommerce plugin, the translation uses <strong>woocommerce</strong> textdomain, eg. <code>__(&#039;My String&#039;, &#039;woocommerce&#039;)</code> as plugin, but for X&#8217;s woocomerce templates, it uses theme textdomain ( <strong>__x__</strong> ). This is a standard practice to use theme textdomain on all of its template files.</p>
<p>What you could do is setup a <a href="http://theme.co/x/member/kb/how-to-setup-child-themes/" rel="nofollow">child theme</a>, and copy woocommerce templates (eg. /x/woocommerce/ ) then replace all occurrences of <strong>__x__</strong> by <strong>woocommerce</strong>. And see if it works because the loaded  woocommerce&#8217;s textdomain is for the plugin.</p>
<p>Thanks!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357187</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357187</link>
					<pubDate>Wed, 12 Aug 2015 15:38:01 +0000</pubDate>
					<dc:creator>gbhuk</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the reply.  I don&#8217;t quite agree with your first sentence.  For example another WordPress/Woocommerce theme I use is flatsome.  They too have customised many of the standard woocommerce templates.  However they didn&#8217;t change the occurences of the textdomain &#8216;woocommerce&#8217; in the woocommerce templates to &#8216;flatsome&#8217; and all of the translations work perfectly well.</p>
<p>Flatsome does, of course, follow the standard practice you mention and use its own textdomain &#8216;flatsome&#8217; in their other, *non-woocommerce* related template files, to ensure that their flatsome-specific words and phrases translate, but they leave the woocommerce texdomain unchanged in the woocommerce templates and everything works fine.</p>
<p>Out of interest I just tested this with my installation of X and did a search and replace on &#8216;__x__&#8217;, replacing it with &#8216;woocommerce&#8217; in the main (not child) folder.  I replaced all 88(!) occurences and all of the standard woocommerce translations work fine.</p>
<p>Check out the documentation on the woocommerce site &#8216;Template Structure + Overriding Templates via a Theme&#8217;.  There&#8217;s no mention at all about having to change the textdomain.  It&#8217;s possible to override the templates in the woocommerce domain and have them reside inside the X theme folder without making them part of the __x__ domain and giving your customers the headache of having to track down an translate the 88 entries that would otherwise have translated automatically.</p>
<p>So, to summarise, X having chosen to replace all of the occurences of the &#8216;woocommerce&#8217; textdomain to &#8216;__x__&#8217; in the woocommerce templates in my view is completely unecessary and actually *stops* automatic translation from working on those 88 occasions in the X theme.</p>
<p>Can I suggest that you don&#8217;t take my word for it and give it a try? Try changing all 88 occurences of &#8216;__x__&#8217; within the x/woocommerce templates folder back to the original &#8216;woocommerce&#8217; and see how it would make life a lot less complicated for your customers that both use the woocommerce plugin and rely on its automatic translation.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357542</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357542</link>
					<pubDate>Wed, 12 Aug 2015 22:13:04 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Glad to hear that it works. Though, how do you translate it? Through mo/po files or just through the plugin? Loading textdomain is always required for mo/po files, and <strong>woocommerce</strong> textdomain is never loaded on the theme (plugin&#8217;s textdomain and theme&#8217;s textdomain are different).</p>
<p><strong>__x__</strong> should work on X&#8217;s woocommerce custom templates, since the strings are now part of X. Thus translation for X theme should work for all strings covered by <strong>__x__</strong>. I tried that, and it works and should be working at your end too.</p>
<p>Maybe, you&#8217;re only focusing on single textdomain? Let say you&#8217;re completely translating your site according to woocommerce plugin&#8217;s <strong>woocommerce</strong>. That means, other strings that fall under <strong>__x__</strong> are of course will not be translated. There are threads where users complaining why other strings are not translated when it comes to X theme and Woocomemrce, and that&#8217;s the reason. They thought translating __x__ will translate woocommerce too, or if they translate woocommerce then it will translate __x__ too, we have to translate them both. </p>
<p>Wordpress or translation plugin does not decide what textdomain to translate, instead user should manually do it, choose one or both. And it will work your way since your translation is only applied for woocommerce.</p>
<p>I&#8217;m not really sure what&#8217;s the problem, but I can translate them with no problem on my end. Though, I&#8217;ll forward your concern and idea. Thanks for sharing.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357596</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357596</link>
					<pubDate>Wed, 12 Aug 2015 23:33:20 +0000</pubDate>
					<dc:creator>gbhuk</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Let me try to clarify it with a generic example:</p>
<p>1. Build a WordPress site in standard English: en_US language.<br />
2. Install Woocommerce plugin and &#8216;FLATSOME&#8217; theme.<br />
3. In WordPress settings change site language to, say, Spanish: es_MX<br />
4. WordPress and Woocommerce auto download their respective and existing es_MX mo/po files.<br />
5. Result: WordPress 100% Spanish, Woocommerce <strong>100%</strong> Spanish, the Flatsome-specific strings I need to translate the mo/po but that was to be expected.</p>
<p>All 2285 of the Woocommerce strings are translated automatically.</p>
<p>Now let&#8217;s try the same thing with X:</p>
<p>1. Build a WordPress site in standard English: en_US language.<br />
2. Install Woocommerce plugin and &#8216;X&#8217; theme.<br />
3. In WordPress settings change site language to, again, Spanish: es_MX<br />
4. WordPress and Woocommerce auto download their respective and existing es_MX mo/po files.<br />
5. Result: WordPress 100% Spanish, Woocommerce <strong>96%</strong> Spanish, the X-specific strings I need to translate the mo/po, again, to be expected.</p>
<p>The difference is that because the X theme developers have changed the textdomain in the Woocommerce template overrides from &#8216;woocommerce&#8217; to &#8216;__x__&#8217; <strong>unecessarily</strong> then <strong>88</strong> of Woocommerces <strong>2285</strong> words and sentences are no longer automatically translated by the woocommerce mo/po files.</p>
<p>Perhaps those 88 Woocommerce strings that are being blocked from being automatically translated could be the reason why you have threads from customers complaining that some strings are not translated? Having them find the 88 strings and translate them in the &#8216;X&#8217; theme mo/po &#8211; duplicating the work already done by the Woocommerce guys &#8211; is hardly a solution or a good use of anyone&#8217;s time and can surely lead to customer frustration.</p>
<p>a template-specific example: <em>_e( &#8216;Product&#8217;, &#8216;woocommerce&#8217; ) has been &#8216;customised&#8217; to: _e( &#8216;Product&#8217;, &#8216;__x__&#8217; ), so it no longer automatically follows the woocommerce mo/po translation.</em></p>
<p>Many simple ecommerce terms such as &#8216;Product&#8217;, &#8216;Price&#8217; and &#8216;Quantity&#8217;, and another 85 strings have all been changed from &#8216;woocommerce&#8217; to &#8216;__x__&#8217; in the woocommerce template overrides meaning that they don&#8217;t get translated automatically by the woocommerce mo/po any more!</p>
<p>Sure you can translate them all on your end by editing the X mo/po, but the point is that it&#8217;s completely unecessary work.</p>
<p>Hope this makes the problem a bit clearer.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357746</guid>
					<title><![CDATA[Reply To: X overrides parts woocommerce translation]]></title>
					<link>https://theme.co/archive/forums/topic/x-overrides-parts-woocommerce-translation/#post-357746</link>
					<pubDate>Thu, 13 Aug 2015 03:18:29 +0000</pubDate>
					<dc:creator>Rad</dc:creator>

					<description>
						<![CDATA[
						<p>Hi there,</p>
<p>Yes, I understand your point 🙂 and I knew that process.</p>
<p>And that only proves that you&#8217;re only relying on single textdomain for translation since it&#8217;s automatic. You&#8217;re solely relying on woocommerce translation and disregarding other textdomain, which in fact, other textdomain should work properly since it&#8217;s part of wordpress standard. But it just happen that you requires all translation be done by woocommerce automatically. </p>
<p>If you&#8217;re really relying on languages that are auto-downloaded through woocommerce, then expect that <strong>__x__</strong> will not really work since it&#8217;s not connected to woocommerce. And because it&#8217;s your requirement, then it should work your way, and replacing all instances of <strong>__x__</strong> is a good thing since it&#8217;s your preferred implementation. Though, not because it&#8217;s something you need, it doesn&#8217;t mean that we will sacrifice other means of translation. There are other users preferred other ways, and one of them is using mo/po files, and it&#8217;s wordpress&#8217;s standard. If we will going to choose between plugin&#8217;s author standard and wordpress standard, we will choose the one from wordpress.</p>
<p>It just happens that FLATSOME theme follows woocommerce standard that&#8217;s perfectly fits to your requirement. Though again, I&#8217;ll forward your concern to our developer. It&#8217;s not something we could decide 🙂 , maybe we will think a better way without sacrificing the other. MO/PO files requires some effort, but we can&#8217;t just ignore it.</p>
<p>Thanks for understanding.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

