php - Changing day translation to different languages -
i'm translating website different languages. , i'm in trouble, because of row. need translate day name. format %a. outputs sunday, monday etc.
i tried doing this:
$day_name = trim(htmlentities($show_day->format("%a"), ent_compat, $appui->user_lang.utf-8/*$locale_char_set*/)); but i'm getting error. think i'm doing in wrong way. maybe knows how fix it?
here error:
warning: htmlentities(): charset -8' not supported, assuming utf-8 in /home/...../domains/......com/public_html/....../modules/calendar/week_view.php on line 148
dashes can't used in field names without quoting them. if user_lang.utf-8 field in $appui exists can access this:
$appui->{'user_lang.utf-8'}
Comments
Post a Comment