| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Mon Nov 29, 2004 7:44 pm Post subject: php date function language problem - web_links |
|
i am working whole week on it but i can not find solution. How to chane October to oktober...
thnx for advice
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
djdevon3 Gold Supporter


Offline Joined: Aug 05, 2004 Posts: 4363
|
Posted: Mon Nov 29, 2004 8:29 pm Post subject: Re: date language still problem |
|
check out the english lang file. i think it holds the month names in there.
djdevon3's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.33/4.4/4.3.11
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Mon Nov 29, 2004 8:31 pm Post subject: Re: date language still problem |
|
which file exactly did you mean
tnnx
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
VitorFreitas Nice poster


Offline Joined: Aug 22, 2004 Posts: 53 Location: Madeira, Portugal
|
Posted: Mon Nov 29, 2004 9:32 pm Post subject: Re: date language still problem |
|
the "lang-<LANGUAGE>.php" in the "language" folder.
_________________

----------------------------------------
corp.netrulon.com - CPG-Nuke 8.2b Tweaked
corpteam.superihost.com
VitorFreitas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora Core2/Apache 2.0/MySQL 3.23.58/PHP 4.3.8/CPG-Nuke 8.2b
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Mon Nov 29, 2004 10:04 pm Post subject: Re: date language still problem |
|
not help
i try but still the same.
look at this adress:
mitjab.com/portal/inde...howdays=30
October must be like Oktober.
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Mon Nov 29, 2004 10:12 pm Post subject: Re: date language still problem |
|
any developer or admin please help me with this.
thnx
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
NEMINI Diamond Supporter


Offline Joined: Apr 22, 2004 Posts: 4551
|
Posted: Mon Nov 29, 2004 10:34 pm Post subject: Re: date language still problem |
|
where is your credits link in the footer?
Rules & regulations:
| Quote:: |
k. Members are requested to retain the full copyright as shown in the footer of every page "Interactive software released under GNU GPL 2, Code Credits". If for good reason this message cannot be displayed we request at least the "credits" link be retained ... said message should be plainly visible and not hidden in the background colour, etc..
j. Members who remove (or fail to display on their own template) this message will receive no support here. Users found adding copyrights back for a short period and then removing them after obtaining support will find that future aid will not be given. |
_________________ NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org
NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 6:43 am Post subject: Re: date language still problem |
|
i have this!!!!!!!!!!!!!!!!!!!!!!!
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
NEMINI Diamond Supporter


Offline Joined: Apr 22, 2004 Posts: 4551
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 6:55 am Post subject: Re: date language still problem |
|
you see, i told that many times that i translate it in to slovenian language. It is in the button with words zahvala gre. I hope still that isn't that wrong that i translate it. The same question ask me some other administrator and tell me that is ok when i told him that i translate in our language. Zahvala gre in the button of the page.
So now can you help me, if you find that. Becouse i have this and i think i can get help now.
thnx
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Tue Nov 30, 2004 6:57 am Post subject: Re: date language still problem |
|
but what versione of CPGNuke are u using?
Fill your server specs please.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
senzacionale 500+ Posts Club


Offline Joined: Sep 26, 2004 Posts: 582 Location: Slovenija
|
Posted: Tue Nov 30, 2004 7:03 am Post subject: Re: date language still problem |
|
ok i fix now. You are translator. Can you help me where to fix that becouse i trying to fix now for whole week every day about 4 hours per day and nothing.
senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
|
|
| Back to top |
|
 |
poldo Dragonfly addicted


Offline Joined: Oct 20, 2004 Posts: 381 Location: Philippines
|
Posted: Tue Nov 30, 2004 8:05 am Post subject: Re: date language still problem |
|
ah! i interpreted it wrong!  this is what it meant.
this is the line to modify to customize the month thing:
| Quote:: |
| $newlinkView = date("F d, Y", $newlinkdayRaw); |
its located in web_links/index.php, please refer to this link on what to modify:
php.net
if that doesnt work, try using setlocale, located in mainfile.php
| Quote:: |
| setlocale( LC_TIME,"sl_SI.utf-8"); |
_________________ 12715014116404015116304016415014
5040042115141164162151170042077
poldo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.31 (Unix)/4.0.22-standard/4.3.9/CVS
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Tue Nov 30, 2004 8:16 am Post subject: Re: date language still problem |
|
Ok as above should work but I couldn't get it to work on my windows machine with the proper locale set and all...
so I got a workaround for you.
find in web_links/index.php
| PHP: |
$newlinkView = date("F d, Y", $newlinkdayRaw);
|
replace with:
| PHP: |
$newlinkmonthRaw = date("F", $newlinkdayRaw); $newlinkmonth = constant('_'.strtoupper($newlinkmonthRaw)); $newlinkView = $newlinkmonth.' '.date("d, Y", $newlinkdayRaw);
|
open language/lang-slovenian.php find and interprete it...
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
Last edited by Śyama_Dāsa on Tue Nov 30, 2004 8:36 am; edited 1 time in total |
|
| Back to top |
|
 |
poldo Dragonfly addicted


Offline Joined: Oct 20, 2004 Posts: 381 Location: Philippines
|
Posted: Tue Nov 30, 2004 8:24 am Post subject: Re: date language still problem |
|
whoah! that was fast!
_________________ 12715014116404015116304016415014
5040042115141164162151170042077
poldo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/1.3.31 (Unix)/4.0.22-standard/4.3.9/CVS
|
|
| Back to top |
|
 |
|
|