• Hello!
    I can’t fix this issue: on my page, some of text are capitalize. In the author section and in the beginning text from the comments box.

    Another problem is that i want to change the language from English to Romanian, in the previous article, next article and view more posts. I don’t know how to do this. Can somebody help me?

    Thank you!
    Have a nice day!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @liviabo

    I checked your author section and comment box, are you referring to this:- https://share.getcloudapp.com/X6uQBXPX ?

    If so, it appears that this is hard-coded that way in your theme template. Check your post template in your theme, and try to change it to the way you want.

    You can also use translation plugin, and change the specific strings.

    For the strings that cannot be translated, you might to check this with your theme developer, as they might need to check if those texts are translatable or in the .PO file to translate as well.

    Thread Starter liviabo

    (@liviabo)

    Hi Jhim, and thank you for your quick reply.

    Yes, i am referring to that. I’ve tried loco translate, but i didn’t found nothing to match. I thought maybe there are some codes to put into my additional css… In cpanel, i did’t found nothing…

    Thanks again!

    Hi @liviabo

    Possibly, those texts are not in the template file yet? Or those strings are not translatable. If that’s the case, using a code snippet which is another option that you can use to translate the specific string.

    Here:

    // Translate text
    function translate_text( $translated_text, $text, $domain ) {
            switch ( $translated_text ) {
                    case 'Original Text' :
                            $translated_text = __( 'Translated Text', 'textdomain' );
                            break;
            }
            return $translated_text;
    }
    add_filter( 'gettext', 'translate_text', 20, 3 );

    Add this in your functions.php or use plugin called Code Snippet.

    Just change the ‘Original Text’ and ‘Translated Text’ and ‘textdomain’ to your theme’s text domain which you can fined by going to Themes > Theme File Editor. Here:- https://share.getcloudapp.com/8Lu1yNrY

    I hope this helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Need help!’ is closed to new replies.