Okay
  Public Ticket #1434436
Translation
Closed

Comments

  •  2
    rdiiorio1969 started the conversation

    Hi,

    I'm having a translation issue with the QT: Opening Hours widget.  It's not translating the days to French.

    At first I thought it was a problem with the Business Hours Indicator plugin and the Polylang plugin, so I logged an issue with the developer of the Business Hours Indicator plugin.

    However, as you can see from the indicated URL, if I use the shortcode from the actual plugin, it does translate the days.  The QT: Opening Hours widget (top) does not.

    I'm using Polylang and the page is set to French Canada (fr_CA).

    Thank you.

  •  1,611
    Barry replied

    Hi there,

    Unfortunately the opening hour widget cannot be translated with the Polylang plugin because the weekdays are defined inside one of the template files, see this article from Polylang.

    To translate the weekdays please translate the included language .pot file (can be found inside the installable theme folder /languages) with a program like PoEdit, or use the Loco Translate plugin. Both options are described step by step in this article.

    Translate Theme

    Another option is to copy the html code from the opening hour widget, paste it inside the text/html widget and manually "translate" the weekdays. I see the footer opening hours are also done on this way. It's a quick & dirty fix but the most easiest.

    If you have any questions, please let me know.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes