I cannot translate login forms via loco translate

This topic has 7 replies, 2 voices, and was last updated 9 months, 3 weeks ago ago by uguranlar

  • 6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 12, 2023 at 08:43

    Hello, Uguranlar,

    Thank you for contacting us and for using XStore.

    Mentioned strings come from XStore Core plugin. Please translate them for Core plugin, clear all cache (plugin, server, browser), and check the result.

    Kind Regards,
    8theme team

    Avatar: uguranlar
    uguranlar
    Participant
    July 12, 2023 at 10:25

    I did translate from both core and theme.

    https://gyazo.com/dcce6a4cdacaeef7f2d010943e3ad503

    I dont know what else to do.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 12, 2023 at 11:00

    Hello, Uguranlar,

    We will have another specialist review your inquiry in greater detail and will be in touch with you.

    Kind Regards,
    8theme team

    Avatar: uguranlar
    uguranlar
    Participant
    July 12, 2023 at 11:11

    Thank you

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 12, 2023 at 14:43

    Hello, Uguranlar,

    We have added the next custom snippet to your child-theme/functions.php

    add_filter( 'gettext', 'etheme_child_translate_text', 10, 3 );
    function etheme_child_translate_text( $translated_text, $untranslated_text, $domain ) {
        switch ($translated_text) {
            case 'Username or email':
                return 'Kullanıcı adı veya mail adresi';
                break;
            case 'Password':
                return 'Şifre';
                break;
            case 'Email address':
                return 'Mail adresi';
                break;
            default:
                return $translated_text;
                break;
        }
    }

    Result → https://prnt.sc/9kINnQN5tsYH

    Kind Regards,
    8theme team

    Avatar: uguranlar
    uguranlar
    Participant
    July 13, 2023 at 07:37

    Thank you!

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

The issue related to '‘I cannot translate login forms via loco translate’' has been successfully resolved, and the topic is now closed for further responses

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