This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago ago by Eva Kemp
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
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.
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!
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.
Hi,
Here I send the credentials.
Thank you!
Hello,
I’ve reuploaded 404.php file and now the translation is working.
Please clear browser cache and check.
Regards,
Eva Kemp.
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
Hello,
Then you need edit the text that you’ve already translated and add some other text you wish.
Regards,
Eva Kemp.
Tagged: 404 page, error, templates, translation, woocommerce, wordpress
You must be logged in to reply to this topic.Log in/Sign up