Announcement

Collapse
No announcement yet.

Changing the language for the date in php?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • dutchbb
    replied
    Originally posted by mlx View Post
    You can do that in vBulletin too: Languages & Phrases => Language Manager => Edit Settings => Date / Time Formatting => Locale
    Thank you, exactly what I was looking for

    Thanks Floris for your suggestion.

    Leave a comment:


  • Floris
    replied
    Ah yes, we both forgot about the obvious Thanks mlx for helping us remember!
    Can't believe I skipped it being language specific, so .. to check the language ..

    Leave a comment:


  • mlx
    replied
    You can do that in vBulletin too: Languages & Phrases => Language Manager => Edit Settings => Date / Time Formatting => Locale

    Leave a comment:


  • Floris
    replied
    Sorry, then I don't know. But on my own non vB site, I use this:
    PHP Code:
    date_default_timezone_set('Europe/Amsterdam'); // we are dutch
    setlocale(LC_ALL'nl_NL'); // we want dutch
    $nu strftime("%A, %d %B %G, %R"); // format the date 

    Leave a comment:


  • dutchbb
    replied
    No these ones are not phrases. I translated every month that I could find, someone suggested me it's php that needs to set to dutch but I can't find how to do it.

    Leave a comment:


  • Floris
    replied
    Found by AdminCP --> Language & Phrases --> Search in Phrases --> Find --> January

    ??

    Leave a comment:


  • dutchbb
    started a topic Changing the language for the date in php?

    Changing the language for the date in php?

    Hello, where do I change the language for the date (May, June..) in the attachment please? Please do not just say php.ini, because I need specific directions since I do not know PHP Thank you.

    PS: it's not a vB phrase, I checked.
    Attached Files

Related Topics

Collapse

Working...
X