Translate nl and google maps - by Danivera4001

Solved7 replies3 participantsUpdated by Eva Kemp

Full guideHow to translate a WooCommerce store
  • Avatar: Danivera4001
    Danivera4001
    Participant

    Hello!

    I have 2 questions:

    1. I translate my website in Dutch (with poedit Mo. & Po. files) But there are still some words in English. Now I have change the text of “My wishlist” in the PHP. but I can not find the lines:

    Your account,
    login/logout,
    go to previous page.

    I really want this in Dutch. 🙁

    2. My google maps loads only maps from England. I would like to have display Amsterdam but he won’t show it. Any ideas?

    Kind regards,

    Danique

    7 Answers

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    1. Please read carefully section about how to translate in our documentation: https://www.8theme.com/demo/docs/legenda/#!/how_to_translate.

    2. You have to specify necessary Longitude and Latitude for google map in Theme Options -> Contact Form -> Longitude and Latitude for google map. (For example 52.3167, 5.5500).

    Regards,
    Jack Richardson

    Avatar: Danivera4001
    Danivera4001
    Participant

    Thanks voor reply!!

    I read the translate many times in your documentation. Everythink changed in Dutch Except these words… Can I found these words somewhere in the php or css? So I changed the words there?

    Your example works! But the Longitude and Latitude of Amsterdam is not working 52.3740300,-4.8896900

    I’am a annoying Customer??!! 😛

    Regards,

    Danique

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    Please provide us with FTP and wp-admin credentials and we’ll help you.

    Regards,
    Jack Richardson

    Avatar: Danivera4001
    Danivera4001
    Participant

    Thank you for reply,
    I would like that but unfortunately I work locally with Xammp.

    Love,

    Danique

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    In the file /wp-content/themes/legenda/framework/theme-functions.php you can translate “Your account” text, find the code <?php _e( 'Your Account', ETHEME_DOMAIN ); ?></a> (line 987) and replace the text with yours.

    The same file for “Sign In”, find the code <?php _e( 'Sign In', ETHEME_DOMAIN ); ?></a></li><?php endif; ?> (line 1010) and change “Sign In” text to your own.

    To translate “Logout” find the code <?php _e( 'Logout', ETHEME_DOMAIN ); ?></a></li> (line 1004) in the file /wp-content/themes/legenda/framework/theme-functions.php, change “Logout” word.

    Text “Return to Previous Page” is also can be translated in theme-functions.php, find the code echo '<a class="back-to" href="javascript: history.go(-1)"><span>‹</span>'.__('Return to Previous Page',ETHEME_DOMAIN).'</a>'; (line 2652) and change the text to your language.

    Regards,
    Eva Kemp.

    Avatar: Danivera4001
    Danivera4001
    Participant

    Hello Eva Kemp!

    I’am so happy!!! Thank you very much!!!!

    Regards,

    Danique

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

The issue related to '‘Translate nl and google maps’' has been successfully resolved, and the topic is now closed for further responses