SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
Posted:  18 May 2006 00:50
I changed names of months in seo-board_options.php

$engmonths = array   ....

but there are still same english names ??

Plodz1
__________________
Wesele ślub Zaplanuj swój ślub
Posted:  18 May 2006 08:12
Don't change the $engmonths (unless you use longer month names). The script changes the $engmonths to the $months if defined in the language file (bottom of /lang/eng.php).
Basically, seo-board turns the months from $engmonth into the $months in /lang/eng.php (or whatever name you chose).
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  20 May 2006 11:57
does not work - i did what You said - and still all months in english - and I even changed that names in eng.php  and still the same. Can You tell me what to uncomment and what to comment ???

Plodz1
__________________
Wesele ślub Zaplanuj swój ślub
Posted:  20 May 2006 12:30
Did you uncomment the $months in $eng.php?
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  20 May 2006 14:11
I tried both ways - same
__________________
Wesele ślub Zaplanuj swój ślub
Posted:  20 May 2006 14:46
Both should be uncommented. When they are seo-board replaces the months from $engmonths with the ones in $months. Currently the $engmonths are the short ones (Jan, Feb etc.). If you use longer ones, change the strings in $engmonths. It should work.
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  20 May 2006 21:45   Last Edited By: plodz1
Yes - i did that

there is in seo-board_options:
Code:

$engmonths = array('Sty','Lut','Mar','Kwi','Maj','Cze','Lip','Sie','Wrz','Paź','Lis','Gru');


and also in eng.php anf pol.php that I'm translating
Code:

$months = array('Sty','Lut','Mar','Kwi','Maj','Cze','Lip','Sie','Wrz','PaĽ','Lis','Gru');


so there is no word "May" for example  in whole scitpt - but still there is May in dates.

Maybe there is something more to set up .
__________________
Wesele ślub Zaplanuj swój ślub
Posted:  21 May 2006 06:07   Last Edited By: Hristo
Nope. Don't translate the $engmonths in seo-board_options. The script uses the built-in php functions to make a string with from a date. This string includes by default english months. Then if $month is uncommented the script replaces the months from $engmonths with the ones in $months. So, you must keep the $engmonths intact ('Jan'..). This way the script will replace Jan with 'Sty', 'Feb' with 'Lut' etc. If you use long months (January..), then set the months in $engmonths to the long ones ('January', 'February'...).
__________________
Are you looking for an SEO Consultant?
Email me: hristo at seo-board dot com
Posted:  22 May 2006 13:08
huh - it worked. thanks Hristo

Whan are You planning to release new version?

Plodz1
__________________
Wesele ślub Zaplanuj swój ślub