Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
I simple want to change the output of $Created.Ago in german translation on a current project (SS2.46). Means the string ‘(1 day ago)‘ should be ‘(vor 1 Tag)‘. My config is set to:
Althought i searched the forum, i did'nt found a solution. Where to look for...?
Thanks for your help.
setlocale(LC_TIME, array('de_DE.UTF-8','de_DE') );
Works for me.
Thanks for your reply. I've change my _config.php to your settings. but the string on the pagecomment is still the same ‘1 day ago‘. I use use the pagecomments only at the blogentry. Any other tips?
Then I would suggest that you changed i18n:set_locale() somewhere in your code or you overloaded $lang['de_DE']['Date']['TIMEDIFFAGO'] or the language file is not loaded.
You can check your locale if you place "echo i18n::get_locale();" & "echo _t('Date.DAYS');" in e.g. your init method. It should return "de_DE" & "Tage".