WooCommerce Translation Not Working After .po/.mo Upload

This topic has 27 replies, 5 voices, and was last updated 1 days, 20 hours ago ago by Jae

  • Avatar: Jae
    Jae
    Participant
    June 23, 2025 at 03:28

    I’ve followed all the instructions from the forum and created both the .po and .mo files for the XStore Core plugin. I’ve also completed the translations properly. However, the Traditional Chinese translation is still not being applied in WooCommerce. Would you be able to help me figure out what might be wrong?

    Content is visible for topic creator and
    support staff only.
    26 Answers
    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 23, 2025 at 10:20

    Hello,

    Thank you for reaching out to us.

    1/ You need to rename https://prnt.sc/YMwJcl_vum2P to xstore-core-zh_TW.po and https://prnt.sc/Zp84vPQTd78X to xstore-zh_TW.po

    2/ Select the desired language in WordPress Dashboard > Settings > General > Site Language

    Warm Regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    June 23, 2025 at 11:08

    I followed your instructions and correctly renamed and uploaded each .po file. And I translated the relevant text from English to Traditional Chinese on the corresponding pages, saved the changes, and even synced the files. However, the translations are still not being applied. I’ve also set the site language to Traditional Chinese in WordPress setting, but it’s still not working

    Content is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 23, 2025 at 11:17

    Hello,

    Could you please provide screenshots of the texts for which you have added translations, but which are not functioning correctly?

    Warm Regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    June 23, 2025 at 12:05

    For example, I added a Traditional Chinese translation for “This product is currently out of stock and unavailable,” but it’s not being applied. In fact, none of the English texts displayed within WooCommerce are showing the Traditional Chinese translations I entered, not even a single one. It seems like the translations are not working at all. Could this issue be caused by a conflict between the “woocommerce-zh_TW.mo” and “woocommerce-zh_TW.po” files that I uploaded via File Manager, separate from the Loco Translate plugin?

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    June 24, 2025 at 06:31

    Hello @Jae,

    Thank you for reaching out to us.

    We understand your concern regarding the Traditional Chinese translations not being applied within WooCommerce. Based on the information you provided, it is possible that the issue is related to a conflict between the translation files you uploaded manually via File Manager and those managed by the Loco Translate plugin.

    Loco Translate stores and manages translation files in a specific location, and manually uploading .mo and .po files outside of this environment may cause inconsistencies or prevent the translations from being recognized by WordPress and WooCommerce.

    To resolve this issue, we kindly recommend the following steps:

    1. Remove the manually uploaded woocommerce-zh_TW.mo and woocommerce-zh_TW.po files from the File Manager to avoid potential conflicts.
    2. Use the Loco Translate plugin to manage all translations. Ensure that the translations are saved in the correct location (preferably in the “Custom” or “System” path suggested by Loco Translate).
    3. After saving your translations, clear your site and browser cache to ensure the changes are reflected on the front end.
    4. Verify that the site language is set to Traditional Chinese (zh_TW) under Settings > General in your WordPress dashboard.

    If the issue persists after following these steps, please let us know, and we will be happy to investigate further. Also, attach the FTP access if you still have the issue with string translations.

    Best Regards,
    Jack Richardson
    8Theme’s Team

    Avatar: Jae
    Jae
    Participant
    June 24, 2025 at 08:03

    I have carefully followed all the steps you recommended:
    1. I deleted the manually updated files via the file manager,
    2. Removed and re-uploaded the translation files in Loco Translate, renaming them(xstore-core-zh_TW.po, xstore-zh_TW.po) exactly as you instructed, then synced and translated the target strings into Traditional Chinese,
    3. Cleared all browser caches,
    4. Changed the default language in WordPress settings to Traditional Chinese.

    However, the translations are still not appearing on the site.

    Would it be possible for you to kindly log in and take a closer look at the issue? I would greatly appreciate your assistance in resolving this.

    Thank you very much for your help.

    Content is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 24, 2025 at 15:06

    Hello, Jae,

    Thank you for providing access. We would like to inform you that we have recently released a major update that includes a fix for the issue you reported.

    We kindly ask you to update the theme to version 9.5 and the plugin to version 5.5. After updating, please check whether the issue persists.

    Should you have any further questions or require assistance, feel free to contact us.

    Best regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    June 24, 2025 at 17:28

    Hello,

    As you advised, I have updated the theme to version 9.5 and the XStore Core plugin to version 5.5.
    However, it looks like the problem hasn’t been fixed yet- none of the translations are being applied.

    Could you kindly recheck and let me know if anything was missed?

    Thank you in advance for your support.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 25, 2025 at 14:29

    Hello, Jae,

    In this case, we kindly ask you to provide us with FTP access.

    Best regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    June 25, 2025 at 15:24

    Hi Andrew,

    I’ve shared the information in the private content area as requested.

    Please let me know if you need anything else.
    Thanks!

    Content is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    June 26, 2025 at 07:21

    Hello, Jae,

    We are using FileZilla and were able to connect, but the FTP directory is empty – https://prnt.sc/RbLG-w3elCiK

    Please check the destination folder of the user, we need access to your WP installation.

    Best Regards,
    8Theme’s Team

    Avatar: Jae
    Jae
    Participant
    June 26, 2025 at 10:11

    Hi Andrew,

    I’ve updated the FTP directory and double-checked it via FileZilla.
    Could you please check the private content again?

    Thanks for your help!

    Content is visible for topic creator and
    support staff only.
    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 26, 2025 at 14:42

    Hello, Jae,

    Thank you for providing access. Would it be possible for you to temporarily disable the cache and CDN? We are currently unable to see the changes we are making to the files.

    Best regards,
    8Theme Team

    Avatar: Jae
    Jae
    Participant
    June 26, 2025 at 15:39

    Hi,

    As you requested, I’ve temporarily disabled both the cache and CDN.
    Could you please check again and let me know if everything works as expected.

    Content is visible for topic creator and
    support staff only.
    Avatar: Jae
    Jae
    Participant
    June 28, 2025 at 07:32

    Hi,
    Is this a critical issue that can’t be fixed?

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 30, 2025 at 13:14

    Hello, Jae,

    Thank you for disabling caching as requested.

    We would like to inform you about an issue related to translation file loading. The Loco Translate plugin is currently attempting to load translation files from the root directories of themes and plugins, even though the translation directory is set to “System” in its settings. As a result, all translation changes are being saved in the system directory, but not being properly applied.

    This leads to a conflict where, for example, you configure a translation in the file:

    wp-content/languages/themes/xstore-zh_TW.po

    However, the system is actually loading the file:

    wp-content/themes/xstore/languages/ch_TW.mo

    The same issue applies to plugin translations as well.

    To address this, we have temporarily added the following code to the functions.php file of your child theme to ensure the correct translation files are loaded for our theme and WooCommerce:

    add_action( 'after_setup_theme', function() {
    
        if ( get_locale() !== 'ch_TW' ) return;
    
        unload_textdomain( 'xstore' ); 
        load_textdomain( 'xstore', WP_LANG_DIR . '/themes/xstore-zh_TW.po' );
    
        unload_textdomain( 'xstore-child' ); 
        load_textdomain( 'xstore-child', WP_LANG_DIR . '/themes/xstore-child-zh_TW.po' );
    
        unload_textdomain( 'xstore-core' );
        load_textdomain( 'xstore-core', WP_LANG_DIR . '/plugins/xstore-core-zh_TW.po' );
    
        unload_textdomain( 'woocommerce' );
        load_textdomain( 'woocommerce', WP_LANG_DIR . '/plugins/woocommerce-zh_TW.po' );
    });

    Please note that this solution only partially resolves the issue, as there are other plugins installed on your site whose translations are still not functioning correctly.

    We recommend reaching out to the developers of the Loco Translate and Polylang Pro plugins to report this issue and seek further assistance.

    Additionally, we have included the following (currently commented out) code in your child theme’s functions.php file. This code can help track which translation files are being loaded. You can monitor this information in your site’s error_log file, as well as in the private content section of this message:

    add_filter( 'load_textdomain_mofile', function( $mofile, $domain ) {
        error_log( "Loading MO file: $mofile for textdomain: $domain" );
        return $mofile;
    }, 10, 2 );

    Should you have any further questions or require additional assistance, please do not hesitate to contact us.

    Best regards,
    8Theme Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Jae
    Jae
    Participant
    June 30, 2025 at 14:05

    Thank you very much. I have confirmed that some WooCommerce English texts are now correctly translated into Traditional Chinese.

    Does this mean the issue has been temporarily resolved?

    Also, should I contact the plugin developers to achieve a complete resolution?

    I appreciate your guidance.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 30, 2025 at 14:19

    Hello, Jae,

    1) You can find this information in the debug_log file.

    2) The specified code has already been added. As you can see on the single product page, the data related to our topic or Elementor has been translated. However, the strings related to other plugins remain untranslated:
    https://nabisen.com/ch/product/45-black/

    3 & 4) We kindly recommend that you contact the developers of the respective translation plugins regarding this issue, as we are not authorized to make changes to third-party code.

    Best regards,
    8Theme Team

    Avatar: Jae
    Jae
    Participant
    July 1, 2025 at 03:18

    Hi,

    Thanks to your help, I was able to translate most of the texts into Traditional Chinese successfully. However, the part I attached in the screenshot 1,2 is a WooCommerce section where customers enter their information to receive products. Even though I have added the Traditional Chinese translation, this part still appears in English. This is directly related to WooCommerce, not any other plugin, so I’m not sure why the translation is not being applied.

    Also, I noticed that some strings do not appear at all under Loco Translate → Themes → XStore or Loco Translate → Plugins → XStore Core, so I can’t find them to edit (screenshot 3) . Could you please let me know where I should look or edit these missing strings?

    I would really appreciate your guidance on how to solve these issues.

    Thank you very much!

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    July 1, 2025 at 10:29

    Hello, Jae,

    1/ Edit Checkout page using Elementor > enter the desired text here – https://prnt.sc/8gruqmkAhiWX

    2/ WooCommerce > Settings > Accounts & Privacy https://prnt.sc/geo02ciRaaQk

    Should you have any additional questions, please do not hesitate to contact us.

    Warm Regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    July 3, 2025 at 07:12

    Hi,

    Thanks to your help, I’ve solved most of my issues — I really appreciate it!
    However, I ran into a new problem.

    While I was editing the placeholder text (your email id…) and the Subscribe button label in my Mailchimp form, the footer layout got messed up. The subscribe input and the button were originally aligned in a single line, but now the button drops to the next line.

    They should stay in one line as a single unit. I suspect the CSS styling broke when I edited the form.

    Here is my current form code:


    I would really appreciate your help to adjust this using flex CSS — so that even if I change the text in the input or button, the layout stays intact in one line.

    Could you please help me with the best way to apply the right flex CSS to keep this layout stable?

    Files is visible for topic creator and
    support staff only.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 3, 2025 at 07:23

    Hello, Jae

    To ensure you get the best support, we’re escalating your request to another specialist from our team, who will take a closer look at the issue.

    They will update you as soon as possible, and we’ll make sure to keep you posted. If you have any additional details that might help, feel free to reply here.

    Thank you for your cooperation!

    Best Regards,
    The 8Theme Team

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 3, 2025 at 07:45

    Dear @Jae,

    We hope this message finds you well.

    Kindly check your Mailchimp form at your earliest convenience. We have made some modifications as requested. Specifically, we replaced the div tags with p tags, as shown in the following screenshot: https://prnt.sc/jnShbQ2N_2mg.

    For your reference, these changes are in accordance with the guidelines provided in our tutorial:
    https://www.8theme.com/documentation/xstore/plugins/mail-chimp-form-custom-styles/

    Should you have any further questions or require additional assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    July 3, 2025 at 08:48

    Hi,

    Thank you so much for helping me with the code modification — I really appreciate it.

    There’s just one more thing I’d like to fix. As shown in the screenshot, I’d like to reduce the line height spacing between the input fields and the button so that they appear closer together vertically.

    Could you please guide me on how to adjust the spacing for this part?

    Thanks in advance!

    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    July 3, 2025 at 09:59

    Hello,

    Thank you for reaching out to us.

    Edit Footer Content – https://fex.net/s/fbnntfk

    Warm Regards,
    The 8Theme Team

    Avatar: Jae
    Jae
    Participant
    July 3, 2025 at 12:38

    Thanks for the support! My topic “WooCommerce Translation Not Working After .po/.mo Upload” has been successfully resolved.

  • Viewing 27 results - 1 through 27 (of 27 total)

The issue related to '‘WooCommerce Translation Not Working After .po/.mo Upload’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.