Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ php date function language problem - web_links :: Archived


php date function language problem - web_links :: Archived
Want a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Go to page 1, 2  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

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

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
djdevon3
Gold Supporter
Gold Supporter

Offline Offline
Joined: Aug 05, 2004
Posts: 4363

PostPosted: 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
View user's profile Visit poster's website Photo Gallery
senzacionale
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
VitorFreitas
Nice poster
Nice poster

Offline Offline
Joined: Aug 22, 2004
Posts: 53
Location: Madeira, Portugal
PostPosted: 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
View user's profile Visit poster's website
senzacionale
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
senzacionale
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: 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
View user's profile Visit poster's website MSN Messenger
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: 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
    View user's profile Visit poster's website Photo Gallery
    senzacionale
    500+ Posts Club
    500+ Posts Club

    Offline Offline
    Joined: Sep 26, 2004
    Posts: 582
    Location: Slovenija
    PostPosted: 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
    View user's profile Visit poster's website MSN Messenger
    NEMINI
    Diamond Supporter
    Diamond Supporter

    Offline Offline
    Joined: Apr 22, 2004
    Posts: 4551

    PostPosted: Tue Nov 30, 2004 6:52 am
    Post subject: Re: date language still problem

    you need a link to mitjab.com/portal/inde...me=Credits in your footer, thats the code credits page.

    _________________
    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
    View user's profile Visit poster's website Photo Gallery
    senzacionale
    500+ Posts Club
    500+ Posts Club

    Offline Offline
    Joined: Sep 26, 2004
    Posts: 582
    Location: Slovenija
    PostPosted: 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
    View user's profile Visit poster's website MSN Messenger
    NanoCaiordo
    Developer
    Developer

    Offline Offline
    Joined: Jun 29, 2004
    Posts: 3878
    Location: Melbourne, AU
    PostPosted: 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
    View user's profile Visit poster's website Photo Gallery
    senzacionale
    500+ Posts Club
    500+ Posts Club

    Offline Offline
    Joined: Sep 26, 2004
    Posts: 582
    Location: Slovenija
    PostPosted: 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
    View user's profile Visit poster's website MSN Messenger
    poldo
    Dragonfly addicted
    Dragonfly addicted

    Offline Offline
    Joined: Oct 20, 2004
    Posts: 381
    Location: Philippines
    PostPosted: Tue Nov 30, 2004 8:05 am
    Post subject: Re: date language still problem

    ah! i interpreted it wrong! Shocked 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");

    Big grin Big grin Big grin

    _________________
    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
    View user's profile Visit poster's website MSN Messenger Yahoo Messenger
    Śyama_Dāsa
    Developer
    Developer

    Offline Offline
    Joined: Apr 19, 2004
    Posts: 2048
    Location: Dragonfly CMS Tribe
    PostPosted: 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
    PHP:
    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
    View user's profile Visit poster's website Yahoo Messenger Photo Gallery
    poldo
    Dragonfly addicted
    Dragonfly addicted

    Offline Offline
    Joined: Oct 20, 2004
    Posts: 381
    Location: Philippines
    PostPosted: Tue Nov 30, 2004 8:24 am
    Post subject: Re: date language still problem

    whoah! that was fast! Shocked

    _________________
    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
    View user's profile Visit poster's website MSN Messenger Yahoo Messenger
    Display posts from previous:   
    Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
    Page 1 of 2
    All times are GMT
    Go to page 1, 2  Next

    Archive Revive
    Username:
    This is an archived topic - your reply will not be appended here.
    Instead, a new topic will be generated in the active forum.
    The new topic will provide a reference link to this archived topic.
     
       Toggle Content User Info

    Welcome Anonymous

    Nickname
    Password
    (Register)

       Toggle Content Last CVS commits
    · Fixed .ico Expires header.
    · Removed domain name from cookies so subdomains wont access them anymore.
    · CSS and JS, case insensitives.
    · CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
    · Further security class improvements.
    · 301 redirects on LEO changes
    · Option to force 3xx http status codes
    · Validate googlebot.com and google.com crawlers.
    · CCBot
    · Rss with etag and atom.

    читај повеќе...

       Toggle Content Community

    Support for DragonflyCMS in a other languages:

    Deutsch
    Español

       Toggle Content X-links
    UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

    You are seeing squares or questionmarks on this page?

    All content of this website is copyrighted by the Creative Commons NC-SA
    The logos and trademarks used on this site are the property of their respective owners
    We are not responsible for comments posted by our users, as they are the property of the poster.
    Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
    Support GoPHP5.org
    Interactive software released under GNU GPL, Code Credits, Privacy Policy