PDA

View Full Version : Change Months name?


orozery
11-28-2001, 10:28 AM
How can I change months name inside threads, where it says, for example:

Registered: Nov 2001

?

I want to make it:
Registered: NovemeberInHebrew 2001

Can anyone please help me?

Thanks in advance,
Or Ozery

Admin
11-28-2001, 10:54 AM
Achi,

That's something with PHP, the date() function is used to generate that text. :)

orozery
11-28-2001, 11:05 AM
hi "achi" :)
check out my Hebrew translation at http://www.hasa.co.il
I think i'm the first one ever translated vb to hebrew :)

I know it's on the date function, like %M and %m but I don't know about PHP and I believe it won't be so simple to make this hack..

Admin
11-28-2001, 11:15 AM
Yes you are. :)

I think you'll need to write a new function to parse the date and output Hebrew stuff.
Do you only want to echo November in Hebrew chars (like ??????)?

orozery
11-28-2001, 11:33 AM
I want to translate all of the Months name
Jan, Feb, Mar, etc...

I also have to translate full Months name on the calendar, but it's a hack needed for vbportal, not vbulletin, so it's not the right place for asking about it :)

but maybe if anyone could help me do that on vbulletin, i could use same function to vbportal.

did no one ever did this before?
i've seen couple of translated vb's, germen, french and even arabic, so it had to be done (if they want to fully translate the forum, including months name).

again, i don't have a clue about php, so i'm asking here.
else, i would be hacking this on myself.. :)

orozery
11-29-2001, 02:02 PM
I've visited vBulletin-Germany site, and on their vb translation, they did like this:

Registriert seit: 11.2001
instead of: Nov 2001

I think that would be easier...anyone has a clue?

Admin
11-29-2001, 02:34 PM
"Format for registration date" setting in vBulletin Options.

orozery
11-29-2001, 02:43 PM
Thank you very very much, FireFly! :)

Meta
11-29-2001, 03:13 PM
(I think, one easy way to translate the names of the months is the use of replacement-variables. At least we did so ... and it works now since half a year without problems.)