Topic Resolution: Resolved
  • Closed
  • Heinrich
    Spectator
    August 26, 2015 at 10:50 pm #20155

    Hi team,

    I am using latest version of Evolve-Plus and Woocommerce. WordPress is set to German localization. Woocommerce as well.
    On the first page of the Woocommerce payment page three buttons appear on top of the page:

    Billing Address
    Shipping Address
    Review Payment

    When switching to Twentyfifteen theme these buttons disappear. Which is correct.
    Can you also get these buttons off evolve-plus in this page? If that’s too difficult they should at least appear in German language as following:

    Rechnungsadresse
    Lieferadresse
    Zahlungsart

    Please implement one of the two options described since this is the last issue preventing my webshop to go live.

    Thanks and regards
    Heinrich

    Denzel Chia
    Moderator
    Posts: 2656
    August 27, 2015 at 8:04 am #20177

    Hi,

    You need to re-scan the theme to update your language po and mo files.
    I recommend using this plugin. https://wordpress.org/plugins/loco-translate/

    In evolve-plus/library/woo-config.php at line 805, 811, and 820, I can see that the strings are properly localized.
    You may want to physically alter them to German, if you are unable to scan and find the strings.

    Thanks!

    Heinrich
    Spectator
    Posts: 13
    August 27, 2015 at 9:07 am #20185

    Hi Denzel,

    thanks for the prompt reply.
    I will follow your recommendations today and give you an update about the outcome.

    Best regards
    Heinrich

    Heinrich
    Spectator
    Posts: 13
    August 27, 2015 at 9:17 am #20187

    Hi Denzel,

    I have just installed and opened Loco Translate. Now I get the following alert:

    WPLANG is deprecated and should be removed from wp-config.php

    Shall I really do this? I know where to find this piece of code but I first want to make sure that this is indeed the right thing to do from your point of view.

    Best regards
    Heinrich

    Denzel Chia
    Moderator
    Posts: 2656
    August 27, 2015 at 9:36 am #20188

    Hi,

    Don’t do anything to your wp-config.php

    Perhaps you have added a define WPLANG in wp-config.php, which is not needed in current WordPress version, since they have updated to use the language chooser when installing WordPress. https://make.wordpress.org/core/tag/i18n/

    But to play safe, Please don’t remove it, Because I am not sure if your installation is pre WordPress 4.0, and whether there is any impact if that define is removed.

    In this case, I don’t think this deprecated warning will prevent the plugin from working properly.

    Thanks!

    Heinrich
    Spectator
    Posts: 13
    August 27, 2015 at 11:05 am #20190

    ok, thanks Denzel for the clear guidance. I haven’t touched wp-config and won’t touch it either.
    I’ll now look into the woo-config.php file and use Loco Translate if necessary.

    Will keep you up to date.

    Best regards
    Heinrich

    Heinrich
    Spectator
    Posts: 13
    August 27, 2015 at 11:40 am #20191

    Hi Denzel,

    I successfully managed to update woo-config.php
    Thank you so much!

    May I also ask you for some guidance on this minor issue:
    On the bottom of the “billing address” and “shipping address” pages the “continue” buttons remain in English language. Can you tell me where I can manually change that to the German translation as well?

    Best regards
    Heinrich

    Heinrich
    Spectator
    Posts: 13
    August 27, 2015 at 9:29 pm #20197

    Hi Denzel,

    I have also found the lines in which I could insert the translation manually.
    Thanks again for pointing me to woo-config.pnp. Inserting there the translations resolved the issue.

    I will now close this case.

    Best regards
    Heinrich

    Denzel Chia
    Moderator
    Posts: 2656
    August 28, 2015 at 8:55 am #20205

    Hi Heinrich,

    Glad to hear that you have solved your issues.
    Wish you a successful business.

    We hope that you can recommend our products to your friends or contacts.

    Thank you very much for your patience.

    Have a nice day.

    Thanks!
    Denzel