Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2001, 10:28 AM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #2  
Old 11-28-2001, 10:54 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Achi,

That's something with PHP, the date() function is used to generate that text.
Reply With Quote
  #3  
Old 11-28-2001, 11:05 AM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #4  
Old 11-28-2001, 11:15 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 ??????)?
Reply With Quote
  #5  
Old 11-28-2001, 11:33 AM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #6  
Old 11-29-2001, 02:02 PM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #7  
Old 11-29-2001, 02:34 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Format for registration date" setting in vBulletin Options.
Reply With Quote
  #8  
Old 11-29-2001, 02:43 PM
orozery's Avatar
orozery orozery is offline
 
Join Date: Nov 2001
Location: Israel
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very very much, FireFly!
Reply With Quote
  #9  
Old 11-29-2001, 03:13 PM
Meta's Avatar
Meta Meta is offline
 
Join Date: Nov 2001
Location: Germany (north)
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

(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.)
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07350 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete