Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Where to translate Month and Day language, in PHP? I cant found options for this
Old 04-03-2012, 05:45 PM Where to translate Month and Day language, in PHP? I cant found options for this
Skilled Talker

Posts: 90
Name: syu
Trades: 0
I can showing month and day in php, from this documentation http://php.net/manual/en/function.date.php

for example

Code:
Wednesday, 03 March 2012


i want to change it into my language

Code:
Rabu, 03 Maret 2012

or it is best if can like this

Code:
Rabu, 3 Maret 2012



i am using whm and cpanel, cant found options to translate this, maybe i need to edit some files in PHP configuration, but which one, please help guys
__________________
Lets help each other
basketmen is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-03-2012, 06:07 PM Re: Where to translate Month and Day language, in PHP? I cant found options for this
chrishirst's Avatar
Defies a Status

Posts: 43,966
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://php.net/manual/en/function.setlocale.php
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-03-2012, 06:16 PM Re: Where to translate Month and Day language, in PHP? I cant found options for this
chrishirst's Avatar
Defies a Status

Posts: 43,966
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
OR if you want a server wide change of locale:

http://docs1.cpanel.net/twiki/bin/vi...ocs/WhmLocales

Accessed from the Locales link on your WHM main/home page.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-08-2012, 08:39 AM Re: Where to translate Month and Day language, in PHP? I cant found options for this
chrishirst's Avatar
Defies a Status

Posts: 43,966
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
November 30th must be a bad day to be born, because they all seem to be completely stupid!!!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Where to translate Month and Day language, in PHP? I cant found options for this
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35006 seconds with 11 queries