Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #518820

    Hi
    A few days ago I reported an issue with translating the date format from English to French. WPML support team was very helpful in finding a solution for me. However, since there is no standard format to have the month displayed in lowercase, I’m left with trying to perhaps use CSS text-transform: lowercase; to do this. Can you help me find how I could do this while my language is French?

    Here’s a link to a French post: http://www.impactcrescendo.com/allo-toutlmonde?lang=fr

    Much appreciated
    Lyse

    #519092

    Hi Lyse,

    Not sure what you mean by month, do you mean the archives widget in the sidebar?

    Thanks,
    Rikard

    #519396

    Hi Rkard,

    Yes and not only the sidebar widget but also the post date right below the title of the post. I want the month to be displayed in lowercase, no capital letter in the month’s name.So, the French date should read: octobre (all lowercase).

    Sorry for the confusion
    Lyse

    #519404

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .date-container, .news-time, .widget_archive a {
        text-transform: lowercase;
    }

    Regards,
    Yigit

    #519426

    Hi Ygit,
    But how do I apply this code only if on the French page of the website. I don’t want lowercase for English.
    Thanks
    Lyse

    #519428

    Hey!

    Please change the code to following one

    html[lang="fr-CA"] .date-container,html[lang="fr-CA"] .news-time,html[lang="fr-CA"] .widget_archive a {
        text-transform: lowercase !important;
    }

    Cheers!
    Yigit

    #519433

    Hi Yigit,
    That worked perfectly! Thank you so very much!
    Lyse

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Tranlating month in date format to lowercase’ is closed to new replies.