Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    about small calendar widget translate, might be possible; you can try modify this like <?php echo implode('</td><td>',$calendar['row_headers']); ?> under wp-content/plugins/events-manager/templates/templates/calendar-small.php

    to use templates: https://wp-events-plugin.com/documentation/using-template-files/

    about translate Countries, should be translated now? can I know where is this and is this using any translation plugin or wordpress in your language ?

    Thread Starter Nelly Kara

    (@nelly-kara)

    Hello again,

    my wordpress instalation is localized to use bg_BG. There is no translation plugin. I use only CodeStyling Localization plugin to translate the theme and plugins.

    Can you please be more specific how to modify <td><?php echo implode(‘</td><td>’,$calendar[‘row_headers’]); ?></td> in the calendar-small.php?

    Thank you in advance.

    Hiya,

    Have you tried using the CodeStyling plugin to change the Month and Day names, or have you set your WordPress site to a different language?

    Thanks,
    Phil

    Thread Starter Nelly Kara

    (@nelly-kara)

    Hi,

    I am using both. The days and months are translated in the Woridpress as well as their short headings but they appear in English in the small calendar.
    I cannot translate the countries in the #_LOCATIONCOUNTRY placeholder. The countries are not included in any po/mo file.

    Thanks,
    Nelly

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can also try to hook into em_location_get_country filter then do your translation inside the function.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    We don’t include it in the po/mo files to avoid all the extra rows to translate, it puts people off when volunteering to translate.

    You would need to translate the countries like so:

    $em_countries_array_i18n[‘fi’] = array (‘AF’ => ‘Afghanistan’, ‘AL’ => ‘Albania’, ‘DZ’ => ‘Algeria’, ‘AS’ => ‘Amerikan Samoa’, ‘AD’ => ‘Andorra’, ‘AO’ => ‘Angola’, …

    located in em-functions.php

    if you translated that, we’d be happy to add it to the plugin.

    Thread Starter Nelly Kara

    (@nelly-kara)

    Thank you! This solved my issue with the translation of the countries.

    Now i still need to translate the Days names in the small calendar widget. As I wrote my wordpress is set to bg_BG language and the week days are translated in the bg_BG.mo file.

    Thank you once again.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry, I didn’t get what you mean by your last post; is it working now or you are finding ways to translate day names in small calendar?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘translate Countries and Days names in the small calendar widget?’ is closed to new replies.