Title: WooCommerce language problem
Last modified: August 31, 2016

---

# WooCommerce language problem

 *  Resolved [stenderup](https://wordpress.org/support/users/stenderup/)
 * (@stenderup)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/)
 * Hi
 * I am using template Avanti from [http://yootheme.com](http://yootheme.com) and
   WordPress
 * Avanti 1.0.5
    Warp Framework 7.3.19 WordPress Version 4.4.2 WooCommerce Version
   2.5.2
 * I use Danish as my language on my website, but have a small problem.
 * If you as a user would like to update your “Edit Address” in the shop, all has
   been translater to Danish except one text “Postcode / ZIP *”
    Postcode / ZIP *
   should be Postnummer *
 * In the fil woocommerce-da_DK.po is it translated correctly, so I do not know 
   where I can make the right changes.
 * You can see my test pages in below link and it is OK to make a test user, if 
   that can help to solve my problem;
    [http://iso.1qr.dk/gaa-til-din-konto/](http://iso.1qr.dk/gaa-til-din-konto/)
 * Thank you in advance for your help
 * Br.
 * Michael S.
 * *****
    ### WordPress Environment ###
 * Home URL: [http://iso.1qr.dk](http://iso.1qr.dk)
    Site URL: [http://iso.1qr.dk](http://iso.1qr.dk)
   WC Version: 2.5.2 Log Directory Writable: ✔ /home/www/iso.1qr.dk/wp-content/uploads/
   wc-logs/ WP Version: 4.4.2 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode:–
   Language: da_DK
 * ### Server Environment ###
 * Server Info: Apache
    PHP Version: 7.0.1 PHP Post Max Size: 32 MB PHP Time Limit:
   30 PHP Max Input Vars: 1000 SUHOSIN Installed: – MySQL Version: 5.6.25 Max Upload
   Size: 32 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument:
   ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔
 * ### Database ###
 * WC Database Version: 2.5.2
    : woocommerce_sessions: ✔ woocommerce_api_keys: ✔
   woocommerce_attribute_taxonomies: ✔ woocommerce_termmeta: ✔ woocommerce_downloadable_product_permissions:
   ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates:
   ✔ woocommerce_tax_rate_locations: ✔
 * ### Active Plugins (6) ###
 * Akeeba Backup for WordPress: by Akeeba Ltd – 1.6.3
    Contact Form 7: by Takayuki
   Miyoshi – 4.4 Cookie Law Info: by Richard Ashby – 1.5.3 Widgetkit: by YOOtheme–
   2.5.3 WooCommerce: by WooThemes – 2.5.2 Yoast SEO: by Team Yoast – 3.0.7
 * ### Settings ###
 * Force SSL: –
    Currency: DKK (DKK) Currency Position: right_space Thousand Separator:.
   Decimal Separator: , Number of Decimals: 2
 * ### API ###
 * API Enabled: ✔
    API Version: 3.1.0
 * ### WC Pages ###
 * Shop Base: #261 – /bestil-koeb-shop-hos-dansk-isolerings-handel/
    Cart: #262 –/
   din-indkoebskurv/ Checkout: #263 – /til-din-bestilling/ My Account: #264 – /gaa-
   til-din-konto/
 * ### Taxonomies ###
 * Product Types: external (external)
    grouped (grouped) simple (simple) variable(
   variable)
 * ### Theme ###
 * Name: Avanti
    Version: 1.0.5 Author URL: [http://www.yootheme.com](http://www.yootheme.com)
   Child Theme: ✕ – If you’re modifying WooCommerce on a parent theme you didn’t
   build personally then we recommend using a child theme. See: How to create a 
   child theme
 * WooCommerce Support: ✔
 * ### Templates ###
 * Overrides: –
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7105885)
 * There’s a few posts around about changing the default WooCommerce address fields.
   You will need a function something like this. Sorry, not tested with a setup 
   exactly like yours.
 *     ```
       <?php
         // Change default checkout fields placeholders
         // code goes in functions.php for your child theme
         add_filter('woocommerce_checkout_fields', 'custom_override_placeholders')
         function custom_override_placeholders($address_fields) {
           $address_fields['postcode']['placeholder'] = 'Postnummer';
           return $address_fields;
         }
       ```
   
 *  Thread Starter [stenderup](https://wordpress.org/support/users/stenderup/)
 * (@stenderup)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7105902)
 * Hi Lorro
 * Thanks for the feedback.
    I do not understand I have one functions.php where 
   below php is add I have also made another test web pages [http://vb.thecrazyreds.dk/min-konto/](http://vb.thecrazyreds.dk/min-konto/)
   and there the text is right, but at that time I had the opportunity to force 
   Danish languish under the settings in WooCommerce, I did not get that on [http://iso.1qr.dk](http://iso.1qr.dk)
 * I have tried to add your proposals, but I am doing something wrong because I 
   get a with pages.
 * It is located her: iso.1qr.dk/wp-content/themes/yoo_avanti_wp/functions.php
 * <?php
    /** * [@package](https://wordpress.org/support/users/package/) Avanti *
   [@author](https://wordpress.org/support/users/author/) YOOtheme [http://www.yootheme.com](http://www.yootheme.com)*
   [@copyright](https://wordpress.org/support/users/copyright/) Copyright (C) YOOtheme
   GmbH * [@license](https://wordpress.org/support/users/license/) [http://www.gnu.org/licenses/gpl.html](http://www.gnu.org/licenses/gpl.html)
   GNU/GPL */
 * // check compatibility
    if (version_compare(PHP_VERSION, ‘5.3’, ‘>=’)) {
 *  // bootstrap warp
    require(__DIR__.’/warp.php’); }
 * *******************
 * Can it have something to do with the PHP Version?
 * On [http://vb.thecrazyreds.dk](http://vb.thecrazyreds.dk) is it 5.6.16
    and on
   [http://iso.1qr.dk](http://iso.1qr.dk) is it 7.0.1
 * Br.
 * Michael S.
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7105905)
 * A child theme is recommended. If you add code to
    wp-content/themes/yoo_avanti_wp/
   functions.php your custom code will be overwritten by the next theme update.
 * I don’t understand: “because I get a with pages”
 * PHP 7 is very new. It may not be that everything is fully working with it yet.
 *  Thread Starter [stenderup](https://wordpress.org/support/users/stenderup/)
 * (@stenderup)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7105915)
 * Hi again
 * Sorry “because I get a with pages” should have been “because I get a white pages”
 * Br.
 * Michael S.
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7105918)
 * OK. White pages are probably due to a syntax error in your php code.
 * Make sure you have only one:
 *     ```
       <?php
       ```
   
 * in your code, at the beginning. Alternatively, start and end tags must be matched:
 *     ```
       <?php ?>
       <?php
       ```
   
 * Next, check you have valid php code using this service:
    [http://phpcodechecker.com/](http://phpcodechecker.com/)
   Copy and paste the whole of the file into the validation box.
 *  Thread Starter [stenderup](https://wordpress.org/support/users/stenderup/)
 * (@stenderup)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7106042)
 * Hi again
 * I have tried to move the shop [http://iso.1qr.dk](http://iso.1qr.dk) to [http://isoshop.1qr.dk](http://isoshop.1qr.dk)
   and downgrade the PHP from V 7.0.1 to 5.6.16 and the installed WooCommerce again
   but that did not solve the language problem.
 * And I do not have below possibility;
    **You can force it to check for a language
   by going to System Status > Tools > Force language update**
 * Then I installed Loco Translate plugin and that could help me to changes Postcode/
   ZIP * to Postnummer *
 * But after I moved my shop to a new domain [http://www.isoshop.1qr.dk/bestil-koeb-shop-hos-dansk-isolerings-handel/](http://www.isoshop.1qr.dk/bestil-koeb-shop-hos-dansk-isolerings-handel/)
   can I not see my product I get a error 404 and if I add a new product then it
   not are showing the picture.
 * I do not know up I need to changes something in the WooCommerce setup when I 
   move the shop from one domain to another domain.
 * I am using Akeeba Backup to make a backup.
 * I hope you can help me again 😉
 * Thank you in advance for your help
 * Br.
 * Michael S.
 * *****
 *     ```
       ### WordPress Environment ###
   
       Home URL: http://www.isoshop.1qr.dk
       Site URL: http://www.isoshop.1qr.dk
       WC Version: 2.5.2
       Log Directory Writable: ✔  /home/www/isoshop.1qr.dk/wp-content/uploads/wc-logs/
       WP Version: 4.4.2
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       Language: da_DK
   
       ### Server Environment ###
   
       Server Info: Apache
       PHP Version: 5.6.16
       PHP Post Max Size: 32 MB
       PHP Time Limit: 30
       PHP Max Input Vars: 1000
       SUHOSIN Installed: –
       MySQL Version: 5.6.25
       Max Upload Size: 32 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 2.5.2
       :
       woocommerce_sessions: ✔
       woocommerce_api_keys: ✔
       woocommerce_attribute_taxonomies: ✔
       woocommerce_termmeta: ✔
       woocommerce_downloadable_product_permissions: ✔
       woocommerce_order_items: ✔
       woocommerce_order_itemmeta: ✔
       woocommerce_tax_rates: ✔
       woocommerce_tax_rate_locations: ✔
   
       ### Active Plugins (8) ###
   
       Akeeba Backup for WordPress: by Akeeba Ltd – 1.6.4
       Contact Form 7: by Takayuki Miyoshi – 4.4
       Cookie Law Info: by Richard Ashby – 1.5.3
       Loco Translate: by Tim Whitlock – 1.5.5
       SeedProd Coming Soon Pro: by SeedProd – 4.5.3
       Widgetkit: by YOOtheme – 2.6.0
       WooCommerce: by WooThemes – 2.5.2
       Yoast SEO: by Team Yoast – 3.0.7
   
       ### Settings ###
   
       Force SSL: –
       Currency: DKK (DKK)
       Currency Position: right_space
       Thousand Separator: .
       Decimal Separator: ,
       Number of Decimals: 2
   
       ### API ###
   
       API Enabled: ✔
       API Version: 3.1.0
   
       ### WC Pages ###
   
       Shop Base: #261 - /bestil-koeb-shop-hos-dansk-isolerings-handel/
       Cart: #262 - /din-indkoebskurv/
       Checkout: #263 - /til-din-bestilling/
       My Account: #264 - /gaa-til-din-konto/
   
       ### Taxonomies ###
   
       Product Types: external (external)
       grouped (grouped)
       simple (simple)
       variable (variable)
   
       ### Theme ###
   
       Name: Avanti
       Version: 1.0.5
       Author URL: http://www.yootheme.com
       Child Theme: ✕ – If you're modifying WooCommerce on a parent theme you didn't build personally
       then we recommend using a child theme. See: How to create a child theme
   
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Overrides: –
       ```
   
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7106044)
 * If you are not seeing pictures, try using this plugin to search your setup for
   old versions of your url and replace them with the new version.
    [https://wordpress.org/plugins/search-and-replace/](https://wordpress.org/plugins/search-and-replace/)
   There are other similar plugins.
 * To try to fix the 404 errors, go to Admin page > Settings > Permalinks and click“
   Save changes” twice.
 *  Thread Starter [stenderup](https://wordpress.org/support/users/stenderup/)
 * (@stenderup)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7106049)
 * Hi again
 * All is OK now.
 * I did a new move to see up it could have something wrong with my backup, and 
   now all is working again.
 * Thanks for the gr8 help.
 * But I do not have below possibility;
    **You can force it to check for a language
   by going to System Status > Tools > Force language update** And I do not understand
   why I not have this possibility, but I think that is something WC should look
   at.
 * Br.
 * Michael S.
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7106050)
 * I don’t have this either: “You can force it to check for a language by going 
   to System Status > Tools > Force language update”. Perhaps this feature is only
   provided by some other plugin.
 * What I get is: Admin page > Dashboard > Updates: Translations – “Translations
   are available” and an “Update translations” button.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘WooCommerce language problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

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

 * 9 replies
 * 2 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/woocommerce-language-problem-1/#post-7106050)
 * Status: resolved