![]() |
postpit date
hi
i need to change the postpit mounths names right now its like that: "Registered: Aug 2002" lets say that i want to show it in arabic.. how can i change the mounths name? cuase i couldnt find any mounths name in any php file or template thanks |
It should be in admin/fuctions.php in a function called vbdate(); if I'm correct. It definatly should be that file though.
|
ok but i still dont know where can i change the values!! i dont wanna show Aug in english.. how can i change it??
notice: i know some php commands |
<a href="http://www.vbulletin.com/forum/showthread.php?s=&threadid=46314" target="_blank">http://www.vbulletin.com/forum/showt...threadid=46314</a>
its actually set in the php locale settings read that thread for more info |
ok ppn
ive type the following in the 3 global.php file: <?php setlocale (LC_ALL, 'ar_AR'); error_reporting(7); .... it should change Aug to arabic.. but its not. why not???? |
helloooooo im waiting..
|
Don't be so impatient.
I just know thats the function, I'm not too sure on the value though. |
hey look ive tried:
setlocale (LC_ALL, 'ar_AR'); and setlocale (LC_ALL, 'ar_KW'); non of them works!!! do anybody know why? |
yes the date() function is regular php coding... if you'd like some faster answers why don't you go read the php.net/manual/en/ go check out the date function there ;) regards...
g-force2k2 |
In the thread i posted it shows a function which is used to set the locale of the script. The thing is the server has to have the locale settings available.
Ask your host which ones are installed. |
Without Hacking Solution:
Admin CP/Vb Settings/Format for registration date: Change it to d-m-Y or m/Y This will not translate the month names but will show them in numeric format so will apply to every language.. That's how I use.. If it fits to you.. |
g-force2k2,
non of them helps me PPN, i dont need to ask i can find the scripts there /usr/lib/locale and yes there is an ar_KW script but it setlocale() still doesnt work Logician, thats a good way thanks but i still want to change it thanks all |
All times are GMT. The time now is 04:46 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|