OCS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
I have been translated the OCS locale files to Turkish Language. But i need help for translating dates, (months). I could not find any locale file related to dates.
Example: June -> Haziran, July -> Temmuz etc...
- Posts: 1
- Joined: Fri Jun 29, 2012 3:15 pm
OJS doesn't handle the locale translations for dates. We use Smarty for our templates, and Smarty lets us format dates within our templates using a date_format modifier, which ultimately calls PHP's strftime() function. That function is aware of locales, and is dependent on your web server having the correct default locale set for PHP. You can do this either through the Intl extension for PHP, or possibly also through various global variables set via .htaccess, e.g. something like this:
- Code: Select all
SetEnv LC_ALL tr_TR.UTF-8
- Site Admin
- Posts: 910
- Joined: Tue Jan 10, 2006 6:20 am
Return to OCS Development
Who is online
Users browsing this forum: No registered users and 0 guests