Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on Date format vs. non-English days/months within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. In vBulletin, I can translate days and months to non-English words, via Languages & Phrases section. The date format, however, doesn't allow such translation. Would anyone know how to modify the date format to show days and months


Reply
 
LinkBack Thread Tools
Old 01-21-2007, 08:59 AM   #1 (permalink)
Subscriber
 
Join Date: Jan 2007
Posts: 18
Vampyre is on a distinguished road
iTrader: (0)
Question Date format vs. non-English days/months

In vBulletin, I can translate days and months to non-English words, via Languages & Phrases section.
The date format, however, doesn't allow such translation.

Would anyone know how to modify the date format to show days and months in non-English languages at all, please?
The language in question is Thai, which utilizes multi-byte characters, and unfortunately, there's no Thai version of PHP.
Vampyre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 01-21-2007, 09:14 AM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,223
Code Monkey is on a distinguished road
iTrader: (0)
The only setting for time is in admincp > options > date and time options.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2007, 11:00 AM   #3 (permalink)
Subscriber
 
Join Date: Jan 2007
Posts: 18
Vampyre is on a distinguished road
iTrader: (0)
I've found it!
You can edit settings of your preferred language via Language Manager.
There, you can set locale and override date formats yourself.

Some reference can be found in PHP documentation for setlocale() and strftime().
Vampyre is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-21-2007, 11:30 AM   #4 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,223
Code Monkey is on a distinguished road
iTrader: (0)
Ah very good. I have never had a need to even look at the language manager. That's good to know and I am sure someone may find what you learned useful. Thanks for sharing.
__________________
Please do not PM me unless it's personal. General vBulletin or mod questions by PM will be ignored.

Try the vBSEO Demo

Click here for Instant Community
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: , , ,





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 03:59 PM.
Online Users 36
Registered 2
Guests 34
Members 3746
Active Members 164
Threads 1791
Posts 7271
Top poster: Code Monkey (2223)
Welcome to our newest member, punko3000
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images