Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • mariasedneva Friend
    #923445

    Hello,
    how to change default language to another (rus) in the contacts block? Pls see an attach.
    link http://wingseducation.ru/ru/contacts


    1. 01-1
    pavit Moderator
    #923539

    Hi there

    Please take a look at THIS topic

    mariasedneva Friend
    #934974

    Ok thanks!
    For one language web site version it works well. But how to use it if our site has two languages?

    pavit Moderator
    #934979

    But how to use it if our site has two languages?

    Hi

    You should add language strings , so open file and change

    <div>
    <i class="fa fa-phone"></i>
    <span class="contact-telephone" itemprop="telephone">
    <strong>Call Us</strong><?php echo nl2br($this->contact->telephone); ?>
    </span>
    </div>

    To :

    <div>
    <i class="fa fa-phone"></i>
    <span class="contact-telephone" itemprop="telephone">
    <?php  echo '<strong>'. JText::_('TPL_CONTACT_ADDRESS_TOP_CALL_US').'</strong>';  ?><?php echo nl2br($this->contact->telephone); ?>
    </span>
    </div>

    Then go to Languages -> Override-> New- > and add the override for TPL_CONTACT_ADDRESS_TOP_CALL_US selecting the respective language file
    first apply to the english language and then apply translation for the other installed language

    You can change also the "Mail Us" and "website" adding new languages strings
    TPL_CONTACT_ADDRESS_TOP_MAIL_US
    TPL_CONTACT_ADDRESS_TOP_WEBSITE

    Hope it helps


    1. Screenshot_14-5
Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 3 replies, has 2 voices, and was last updated by  pavit 8 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum