Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 11-05-2008, 09:28 AM   #1
LQ Newbie
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
php, debian and setlocale in french / russian

Hi All,

I have the below simple piece of code

setlocale(LC_ALL, 'fr_FR')
echo strftime("%A, %e %b",time());

What do I need to do so that this outputs in French or Russian.

I ahve also tried french, French, fr_BE etc...

Is this php specific, debian specific or what?

I am using debian sarge and php5.

Any help appreciated.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: New russian blog "Digged Linux Articles in Russian" LXer Syndicated Linux News 0 07-31-2007 06:16 AM
French Speaking Debian (would-be) users, here 's for you ! samael26 Debian 1 03-20-2005 10:00 PM
French accents/European Alphabet error with Apache/PHP rmanocha Programming 5 07-12-2004 07:52 AM
setlocale pantera Programming 1 07-06-2004 09:23 AM
When to use setlocale() ? biosx Programming 3 01-31-2004 06:04 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration