Title: Default Language Error
Last modified: May 16, 2023

---

# Default Language Error

 *  Resolved [maisondejava](https://wordpress.org/support/users/maisondejava/)
 * (@maisondejava)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/default-language-error-3/)
 * So I have created an e-commerce website based on WooCommerce using two languages:
 * (-) English (as the default language)
   (-) French (for translating from English
   to French)
 * While I was in the process of translating one of the product pages from English
   to French, suddenly an error occurred as I described or you can find it at the
   following link.
 * [https://maisondejava.com/product/vase-en-verre-souffle/](https://maisondejava.com/product/vase-en-verre-souffle/)
 * As you can see in the product link, it is currently set to English. Strangely,
   when I click the button that changes the language setting to French, all the 
   data are appearing as shown in the following link.
 * [https://maisondejava.com/fr/produit/vase-en-verre-souffle/](https://maisondejava.com/fr/produit/vase-en-verre-souffle/)
 * Apart from the error on that particular product, it turns out that after checking
   all my product pages, they are in the same state. The data is not displayed in
   English language, and it only appears when in French.
 * Can you please help me understand what the issue is and how to fix it?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-language-error-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Denis](https://wordpress.org/support/users/sdenis/)
 * (@sdenis)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/default-language-error-3/#post-16745182)
 * Hello,
 * I’m sorry to hear you’re experiencing issues with your product pages on WooCommerce.
   The issue you’re describing appears to be related to the translation of WooCommerce’s
   strings, specifically the ‘product’ slug.
 * WooCommerce comes with a lot of localized languages and automatically changes
   the slugs to the local variant. In your case, the ‘product’ slug is being changed
   to ‘produit’ for the French version. This translation is not being recognized
   by TranslatePress, which is causing the issue you’re seeing.
 * To resolve this issue, I recommend using a plugin called Loco Translate. This
   plugin allows you to manually translate strings that are not automatically translated
   by TranslatePress. Here’s what you need to do:
    1. Install and activate the Loco Translate plugin.
    2. Navigate to Loco Translate > Plugins.
    3. Select WooCommerce.
    4. In the French language file, find the ‘produit’ string and translate it to ‘
       product’ (not ‘produit’).
 * This should map the ‘product’ slug correctly for TranslatePress and resolve the
   issue with your product pages not displaying correctly in English.
 * Please try this solution and let us know if the issue persists. We’re here to
   help.
 * Best Regards,

Viewing 1 replies (of 1 total)

The topic ‘Default Language Error’ is closed to new replies.

 * ![](https://ps.w.org/translatepress-multilingual/assets/icon.svg?rev=3166541)
 * [Translate Multilingual sites - TranslatePress](https://wordpress.org/plugins/translatepress-multilingual/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/translatepress-multilingual/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/translatepress-multilingual/)
 * [Active Topics](https://wordpress.org/support/plugin/translatepress-multilingual/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/translatepress-multilingual/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/translatepress-multilingual/reviews/)

## Tags

 * [language error](https://wordpress.org/support/topic-tag/language-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [Denis](https://wordpress.org/support/users/sdenis/)
 * Last activity: [2 years, 10 months ago](https://wordpress.org/support/topic/default-language-error-3/#post-16745182)
 * Status: resolved