Date Turkish format |
| |||
My websitesi dashboard date: This date turkish format: How may make this format?
|
| |||
[code]setlocale(LC_MESSAGES, 'tr_TR.utf8'); This command makes the necessary changes, but I do not know what the file should be put. I'm sorry for bad english
|
| |||
it is setlocale(LC_TIME,"tr_TR") you can set it in my/config.php LC_MESSAGES is for when you get an system error then in includes/libs/common.inc.php function get_date change [code] into [code] this works only if you have only one language, in this case Turkish if you have more than one language on your site, the names of the months will be displayed only in Turkish.
|
| |||
Thank you sir but error messages: Parse error: syntax error, unexpected T_IS_EQUAL in /home/tasdntr1/domains/tasdemir.gen.tr/public_html/includes/libs/common.inc.php on line 285 kod final: } [code]line 285: if ($type == == 'date'){[/code]
|
| |||
ok ok complate :) new codes: [code] } Finaly: 17 Ekim 2010, 11:36 Thank you
|
| |||
ok was one == too much.
|