FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » hmm... some locale problems...
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: hmm... some locale problems... [message #3020 is a reply to message #3018] Fri, 07 June 2002 14:43 Go to previous messageGo to previous message
tufan is currently offline  tufan   Turkey
Messages: 70
Registered: June 2002
Karma:
Member
I was about to say I've solved the problem (well, at least a workaround Smile), but you said it before i did Smile

Yes, indeed, I created a file, and

define('SOMEDEF', "somedef");
setlocale(LC_ALL, "tr_TR"); // or setlocale(LC_CTYPE, "tr_TR");
print "somedef: ".SOMEDEF;

it didn't display the value of SOMEDEF. Strange...

The problem is caused by setting/changing LC_CTYPE, the defines become undefined. No problem with the code:

define('SOMEDEF', "somedef");
setlocale(LC_TIME, "tr_TR");
print "somedef: ".SOMEDEF;

What is more interesting, I HAD tried what you said on my server before I posted a message to this forum, but seemed it didn't work... Perhaps because of my browser's cache, who knows?

Anyway, the problem seems to be solved, and there is a little more for turkish translation (just the user interface for the time being, but since we intend to use it for our university, translations of the help documents and administration interfaces will be available as well, I hope)

Thanks very much for your help...


http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: selecting user adds semicolon in PM
Next Topic: boardusage.hlp is broken: missing paragraph
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 15:03:49 GMT 2024

Total time taken to generate the page: 0.04575 seconds