404 Page Not Translating - by WaniCreative

This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp

  • Avatar: WaniCreative
    WaniCreative
    Participant
    March 31, 2015 at 11:57

    Hi There,

    The 404 page is not translating into the different languages – the string does even appear on the WPML string plugin. Also there are 404 pages on the WordPress pages area but they seem they are not connected. Could you please advise?

    Here’s the 404.php code I have:
    <?php
    get_header();
    ?>

    <div class=”container”>
    <div class=”page-content page-404″>
    <div class=”row-fluid”>
    <div class=”span12″>
    <h1 class=”largest”>404</h1>
    <h1><?php _e(‘This page was moved’, ETHEME_DOMAIN) ?></h1>
    <p><?php _e(‘Sorry, but the page you are looking for was moved. Please, visit our homepage to find your favourite tea.’, ETHEME_DOMAIN) ?> </p>
    ” class=”button medium”><?php _e(‘Go to home page’, ETHEME_DOMAIN); ?>
    </div>
    </div>

    </div>
    </div>

    <?php
    get_footer();
    ?>

    Please let me know.

    Also on WooCommerce I’m trying to translate the “From” word that appears before the price – the strings are translated but doesn’t propagate to the site. Also one of the attributes I have is weight and is not translating either – do you have any suggestions regarding this?

    Please let me know!

    Kind Regards,
    Marcela

    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 13:42

    Hello,

    We recommend you to update the theme and Woocommerce plugin to the latest versions as well as all required plugins https://www.8theme.com/download-plugins/ .
    Don’t forget to create a back up of your files and database before update.
    Also before update remove “woocommerce” folder in the directory wp-content/themes/legenda and it’ll be uploaded with a new theme version.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: WaniCreative
    WaniCreative
    Participant
    March 31, 2015 at 15:59

    Hi,

    I’m afraid deleting the woocommerce folder will not be a good idea as all the templates have custom code I created for the client.

    How about the 404.php?

    Thank you!

    Avatar: Eva
    Eva Kemp
    Support staff
    March 31, 2015 at 17:04

    Hello,

    You must make changes for the theme files in a child theme directory.
    We recommend you to create child theme http://codex.wordpress.org/Child_Themes and copy the files you modified in there.
    Please provide us with FTP and wp-admin panel credentials to check the issue with 404 page.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: WaniCreative
    WaniCreative
    Participant
    April 1, 2015 at 10:07

    Hi,

    Here I send the credentials.

    Thank you!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 1, 2015 at 11:13

    Hello,

    I’ve reuploaded 404.php file and now the translation is working.
    Please clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: WaniCreative
    WaniCreative
    Participant
    April 1, 2015 at 14:07

    Hi Eva,

    Thank you for this.

    Although if I want to have custom text to that page and have it translated in all languages how would that work?

    Thank you!

    Kind Regards,
    Marcela

    Avatar: Eva
    Eva Kemp
    Support staff
    April 1, 2015 at 17:29

    Hello,

    Then you need edit the text that you’ve already translated and add some other text you wish.

    Regards,
    Eva Kemp.

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

You must be logged in to reply to this topic.Log in/Sign up

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