• Resolved ardisth

    (@ardisth)


    Hello
    I want to thank you for your amazing plugin. It works preety good but I have a problem with transaltion of meta information. I found the code in feedzy-rss-feeds-shortcode.php file but I can’t change date from english to my native language.

    $contentMeta .= __(‘on’, ‘feedzy_rss_translate’) . ‘ ‘ . $item->get_date(get_option(‘date_format’)) . ‘ ‘ . __(‘at’, ‘feedzy_rss_translate’) . ‘ ‘ . $item->get_date(get_option(‘time_format’));
    $contentMeta .= ‘</small>’;

    I was tryng to do something with date_i18n but it didn’t work. I need to make this code to show date in my native language. Can you help me?

    Regards Michael

    https://wporg.ibadboy.net/plugins/feedzy-rss-feeds/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Mickael,
    Thanks for reporting this bug. I think that using date_i18n is the best solution.
    Here is the modified line.
    $contentMeta .= __('on', 'feedzy_rss_translate') . ' ' . date_i18n( get_option( 'date_format' ), $item->get_date( 'U' ) ) . ' ' . __('at', 'feedzy_rss_translate') . ' ' . date_i18n( get_option( 'time_format' ), $item->get_date( 'U' ) );
    You can modify the feedzy-rss-feeds-shortcode.php file on line 272, i’ll fixe this issue in the next release.
    If you like the plugin, then to forget to rate it 😉
    Cheers

    PLugin has been updated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translated date’ is closed to new replies.