Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23054

    Hello. I have to questions:

    1) How can I translate the months, days and the date snippet appeared in the upcoming events? I have made the events translatable via WPML but those strings do not appear. Which is the right way to do it?

    2) In the sidebar of an event, there are various fields such as cost, date etc and there is also the “Catecory” field which is linked to the category and underlined. How can I remove the underline in the category field and perhaps unlink it with the category?

    #118376

    Hi,

    1.) Go to config-events-calendar folder, edit config.php then find this code

    if($show_weeks)
    {
    echo '

    <div class="dash weeks_dash">
    <span class="dash_title">'.__('weeks','avia_framework').'</span>
    <div class="digit">0</div>
    <div class="digit">0</div>
    </div>';
    }

    echo '
    <div class="dash days_dash">
    <span class="dash_title">'.__('days','avia_framework').'</span>
    <div class="digit">0</div>
    <div class="digit">0</div>
    </div>

    <div class="dash hours_dash">
    <span class="dash_title">'.__('hours','avia_framework').'</span>
    <div class="digit">0</div>
    <div class="digit">0</div>
    </div>

    <div class="dash minutes_dash">
    <span class="dash_title">'.__('minutes','avia_framework').'</span>
    <div class="digit">0</div>
    <div class="digit">0</div>
    </div>

    <div class="dash seconds_dash">
    <span class="dash_title">'.__('seconds','avia_framework').'</span>
    <div class="digit">0</div>
    <div class="digit">0</div>
    </div>

    Change these lines

    <span class="dash_title">'.__('days','avia_framework').'</span>

    2.) You can add this on your custom.css

    .main_color .tribe-events-event-meta a {
    text-decoration: none;
    color: #919191;
    cursor: default;
    }

    Regards,

    Ismael

    #118377

    OK for no. 2. It worked fine!

    As for no 1, I want to translate the labels of the months. For example Jan, Feb, Mar and also the labels of the Days (eg Mon, Tue, Wed etc) to greek (eg. Ιαν, Φεβ, Μαρ) etc. Is that possible?

    #118378

    If you want to translate the events calendar plugin install the plugin files first: http://wordpress.org/extend/plugins/the-events-calendar/ (upload the files into the wp-content/plugins/ directory and activate the plugin.

    Then use the right po file located in wp-content/plugins/the-events-calendar/lang/ to translate the plugin. You can use Poedit or http://wordpress.org/extend/plugins/codestyling-localization/ for this task.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Events Translation and event sidebar’ is closed to new replies.