WordPress.org

Forums

Google Calendar Events
[resolved] Display dates & times in french (11 posts)

  1. lucaslem
    Member
    Posted 2 years ago #

    I'm using this on a multisite network for (multilingual purpose). Is there any code I can insert in order to display the dates and all associated date/time formats in french?
    Thanks.

    http://wordpress.org/extend/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hello,

    If you install a French language file for WordPress, all dates / times displayed by the plugin will be appropriately localised.

    You should be able to find the file you need here.

  3. lucaslem
    Member
    Posted 2 years ago #

    Worked like a charm! Thanks

  4. lucaslem
    Member
    Posted 2 years ago #

    Actually one more issue:
    I'm still getting "events on..." right before date in tooltip.
    Any way to change this text? Can't find anything in the options.
    Cheers

  5. Ross Hanney
    Member
    Plugin Contributor

    Posted 2 years ago #

    If you're using the widget, the "Events on..." text can be changed in the widget settings (Appearance > Widgets). Or if you're using the [google-calendar-events] shortcode, it can be changed via the title parameter, like this:

    [google-calendar-events title="Stuff and things"]
  6. lucaslem
    Member
    Posted 2 years ago #

    Perfect! Thanks so much for the quick reply.

  7. twayne
    Member
    Posted 2 years ago #

    I have a similar issue, I need to translate other strings such as "More details...". I am using WPML to manage my translation and there are strings not showing up.

    Thanks for the great plugin.

  8. Ross Hanney
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hello,

    Strings such as "More details..." can be changed in the plugin settings, under "Display Options".

  9. twayne
    Member
    Posted 2 years ago #

    Thanks for the quick response.

    If I change the text strings under display options I will still have an issue with the translation I believe because the same code will be used in each language.

    Using WPML I can translate any strings found in the plugin but I don't think the display option text are found. I guess my only other option would be a bilingual display.

  10. Ross Hanney
    Member
    Plugin Contributor

    Posted 2 years ago #

    Oh, I see.

    I'm not familiar with WPML, but I know a couple of people have successfully used qTranslate in combination with my plugin. qTranslate allows use of conditional tags, like this:

    <!–:da–>Danish text<!–:–><!–:en–>English text<!–:–>

    I don't know if WPML offers anything similar?

  11. twayne
    Member
    Posted 2 years ago #

    WPML can use conditional tags. I've not used them for this kind of text. I'll see what works.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Calendar Events
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.