*

votresiteweb

  • ***
  • 45 posts
Site info in the footer only in one language
« on: May 06, 2017, 11:15:13 PM »
Hi,
Unable to add a language, is it not possible to add ?
Thank you :)

*

Ivanko

  • *****
  • 388 posts
Re: Site info in the footer only in one language
« Reply #1 on: May 07, 2017, 07:06:12 AM »
Yes, in footer .php
find:
Code: [Select]
<?php if(osc_get_preference('site_info''veronika_theme') <> '') { ?>
        <div class="info">
          <?php echo osc_get_preference('site_info''veronika_theme'); ?>
        </div>
      <?php ?>


replace with:
Code: [Select]
<div class="info">
  <?php _e('Free classified...blabla''veronika'); ?>
  </div>

open your translation *.mo file and ad in the bottom line
Code: [Select]
#: footer.php:79
msgid "Free classified...blabla"
msgstr "Your translation...blabla"

compile to PO and upload to language folder, as usual, there are many discussion on forum how to translate if you have a doubt.