• Resolved JeanJensenDK

    (@jeanjensendk)


    Hi.

    I have downloadet the .po and .mo files from GitHub, and uploadet them to these folders:

    /wp-content/languages/woocommerce

    – but there are still english (should be danish) text on the website (upper right corner) at jeanjensen.dk/biksen

    Here is my status report:

    ### WordPress Environment ###

    Home URL: http://jeanjensen.dk/biksen
    Site URL: http://jeanjensen.dk/biksen
    WC Version: 2.4.9
    Log Directory Writable: ✔ /var/www/vhosts/jeanjensen.dk/httpdocs/biksen/wp-content/uploads/wc-logs/
    WP Version: 4.3.1
    WP Multisite: –
    WP Memory Limit: 40 MB – Vi forslår at sætte hukommelse til minimum 64MB. Se: Øg hukommelsen allokeret til PHP
    WP Debug Mode: –
    Language: da_DK

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.3.29 – Vi anbefaler minimum PHP version 5.4. Se: Hvordan du opdaterer din PHP version
    PHP Post Max Size: 200 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 20000
    SUHOSIN Installed: –
    MySQL Version: 5.5.45
    Max Upload Size: 200 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✕ Din server har ikke SOAP Client klasse aktiveret – nogle gateways som bruger SOAP fungerer måske ikke som ventet.
    DOMDocument: ✔
    GZip: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 2.4.9
    :
    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 (4) ###

    Akismet: af Automattic – 3.1.5
    WooCommerce – Product Importer: af Visser Labs – 1.2
    WooCommerce: af WooThemes – 2.4.9
    YITH Woocommerce Request A Quote: af Yithemes – 1.2.0

    ### Settings ###

    Force SSL: –
    Currency: DKK (DKK)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2

    ### API ###

    API Enabled: ✔
    API Version: 3.0.0

    ### WC Pages ###

    Butik basisside: #4 – /
    Kurv: #5 – /cart/
    Checkout: #6 – /checkout/
    Min Konto: #7 – /my-account/

    ### Taxonomies ###

    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: Artificer
    Version: 1.3.14
    Author URL: http://www.woothemes.com
    Child Theme: ✕ – If you’re modifying WooCommerce or a parent theme you didn’t build personally we recommend using a child theme. See: How to create a child theme
    WooCommerce Support: ✔

    ### Templates ###

    Overrides: –

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Jean,

    I see you’ve solved your problem. Could you share how you did it? I have the same situation on my site: uploaded the .mo file to /wp-content/languages/woocommerce/ but woocommerce is still showing in English, even though the rest of the site shows correctly in Danish.

    Thank you for any insights you may be able to share.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thread Starter JeanJensenDK

    (@jeanjensendk)

    Solution

    OK, I found the solution. The steps described at https://docs.woothemes.com/document/woocommerce-localization/ are correct, but there is one omission:

    After you export your .mo file from https://translate.ww.wp.xz.cn/projects/wp-plugins/woocommerce and before you upload it to your site, it needs to be renamed to whatever filename WooCommerce will be looking for.

    So in our case (Danish), we downloaded a file called wp-plugins-woocommerce-stable-da.mo and renamed it to woocommerce-da_DK.mo before uploading to the relevant directory. This made the translation show up.

    If your site language is not Danish you need to rename your .mo file so that it corresponds with your language. A complete list of language codes is in the table on this page https://make.ww.wp.xz.cn/polyglots/teams/ in the column titled WP Locale.

    Some examples:

    • If your site language is Dutch you’d rename the .mo file to woocommerce-nl_NL.mo
    • If your site language is German you’d rename the .mo file to woocommerce-de_DE.mo
    • If your site language is French you’d rename the .mo file to woocommerce-fr_FR.mo
    • If your site language is Japanese you’d rename the .mo file to woocommerce-ja.mo
    • If your site language is Greek you’d rename the .mo file to woocommerce-el.mo
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Does not show my language’ is closed to new replies.