• Hi David,

    i use givingpress lite theme for my multilingual website and
    i’m using polylang wordpress plugin to create multilang website(english & tamil)..it works fine except website logo & top contact strip when i change language to tamil bcoz the two part is still in english.

    I think it has to be changed within script..can you help me out ? look at the screenshot here that i need to change in tamil language when user select tamil language https://goo.gl/UCMIQe

    I look forward your reply.

    Thanks,
    Ramesh R

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Ramesh R

    (@ramesh-r)

    Hi,

    I really look forward your reply. Please do reply

    Theme Author Organic Themes

    (@organicthemes)

    Hi Ramesh,

    I believe those values are not translated because they need to be manually entered within the theme options.

    To change the site logo, navigate to Appearance > Customize > Site Identity.

    To change the contact information at the top of the site, navigate to Appearance > Customize > Theme Options > Contact Info Bar.

    Replace the default values in those fields with your desired language. Let us know if this works. Thanks!

    Thread Starter Ramesh R

    (@ramesh-r)

    Hi David,

    If you see the screenshot in my previous message, i have highlighted the area with rectangle box which i want to translate in TAMIL language when i select language option to TAMIL.

    My default language is ENGLISH it’s working fine. but when i choose TAMIL language it works except the highlighted part. I know this has to be done by adding some scripts in child theme functions.php

    I found the below script online to change logo according to multiple language selection.

    AND YOU ARE SAYING TO CHANGE LANGUAGE BY NAVIGATING THE OPTIONS YOU HAVE GIVEN..IF I CHANGE THE LANGUAGE TO TAMIL..when i choose ENGHLISH language HOW IT WILL WORK??

    I found below script from premium pojo premium theme support forum…

    function pojo_polylang_get_multilang_logo( $value ) {
    if ( function_exists( ‘pll_current_language’ ) ) {
    $logos = array(
    ‘en’ => ‘logo-en.png’,
    ‘fr’ => ‘logo-fr.png’,
    );
    $default_logo = $logos[‘en’];
    $current_lang = pll_current_language();
    $assets_url = get_stylesheet_directory_uri() . ‘/assets/images/’;
    if ( isset( $logos[ $current_lang ] ) )
    $value = $assets_url . $logos[ $current_lang ];
    else
    $value = $assets_url . $default_logo;
    }
    return $value;
    }
    add_filter( ‘theme_mod_image_logo’, ‘pojo_polylang_get_multilang_logo’ );

    Could you please modify this script according to your theme script??
    Awaiting for your reply.

    Thanks,
    Ramesh R

    Theme Author Organic Themes

    (@organicthemes)

    Hi Ramesh,

    Have you tried the Loco Translate plugin? We haven’t tested the plugin with the theme, but it should work for the extraction of translatable strings from your source code, such as the contact info.

    Regarding the logo, that’s code that would need to be custom implemented into a child theme on your part. Unfortunately, we are unable to do this for you since it’s from a third party plugin that we are unfamiliar with.

    Thanks!

    Thread Starter Ramesh R

    (@ramesh-r)

    polylang also showing the translatable strings except top contact strip and logo should be changed with php script..and changing the logo is not part of polylang plugin. so i guess you could help me.

    Also i have created child theme and activated it..everthing works fine except featured image in all page and it doesn’t extend to full width (1800 x 640) instead it is 1140 x 405 dimension. Have a look at this link https://goo.gl/o4JDLR

    I will send you online link shortly so that you could help me further.

    Thanks,
    Ramesh R

    Thread Starter Ramesh R

    (@ramesh-r)

    here is online temporary online url to access my website: https://www.askyourprofessoronline.com/renukatemplepdy/

    I have activated child theme but the home page featured image doesn’t extend to full width..what could be the problem??

    here is credential to access admin: un: rramesh pw: Mother!123

    Please advice to fix this issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘WordPress Multilingual Website’ is closed to new replies.