Decodes a serialized and base64 encoded multilingual message Chooses automatically the current language. If it's not available, then uses another language according to site priorities.
If even with this it still can't find a message, returns an empty string
text formatDate(
text
$isodate, mixed
$fmt, [text
$locale = ""])
Formats an ISO date with a specified format, according to locale settings
m Numeric representation of a month, with leading zeros values 01 to 12 d Day of the month, 2 digits with leading zeros values 01 to 31 Y A full numeric representation of a year, 4 digits examples 1999 or 2003 y A two digit representation of a year examples 99 or 03 M A short textual representation of a month, 3 letters values Jan to Dec (in English) this string will be translated according to the locale selected
Tags:
return:
formatted date
Parameters:
text
$isodate
date in ISO format (Ex. 2004-12-31)
text
$locale
an optional locale in which to format the date, if it's not specified use the current locale
Looks inside the message for a string in the format "#message" and substitutes this message with the appropriate translation. only one message per label can be translated. Before and after message label is possible to add others strings that won't be translated. Those strings must be separated by a space from the message label. This may be useful for placing an asterisk beside compulsory fields, for example.