Variable Today Localization
Posted: Wed Feb 03, 2016 8:20 am
I format date with the next result:
{Today.ToString("dddd, dd MMMM yyyy")} = Wenesday, 03 February 2016
But I need the day of the week and the month in spanish language.
I use the localization file: es.xml and in the file contents there are:
<DayFriday>Viernes</DayFriday>
<DayMonday>Lunes</DayMonday>
<DaySaturday>Sábado</DaySaturday>
<DaySunday>Domingo</DaySunday>
<DayThursday>Martes</DayThursday>
<DayTuesday>Jueves</DayTuesday>
<DayWednesday>Miércoles</DayWednesday>
<MonthApril>Abril</MonthApril>
<MonthAugust>Agosto</MonthAugust>
<MonthDecember>Diciembre</MonthDecember>
<MonthFebruary>Febrero</MonthFebruary>
<MonthJanuary>Enero</MonthJanuary>
<MonthJuly>Julio</MonthJuly>
<MonthJune>Junio</MonthJune>
<MonthMarch>Marzo</MonthMarch>
<MonthMay>Mayo</MonthMay>
<MonthNovember>Noviembre</MonthNovember>
<MonthOctober>Octubre</MonthOctober>
<MonthSeptember>Septiembre</MonthSeptember>
Hovewer the date is not translated.
Thanks for you help!
{Today.ToString("dddd, dd MMMM yyyy")} = Wenesday, 03 February 2016
But I need the day of the week and the month in spanish language.
I use the localization file: es.xml and in the file contents there are:
<DayFriday>Viernes</DayFriday>
<DayMonday>Lunes</DayMonday>
<DaySaturday>Sábado</DaySaturday>
<DaySunday>Domingo</DaySunday>
<DayThursday>Martes</DayThursday>
<DayTuesday>Jueves</DayTuesday>
<DayWednesday>Miércoles</DayWednesday>
<MonthApril>Abril</MonthApril>
<MonthAugust>Agosto</MonthAugust>
<MonthDecember>Diciembre</MonthDecember>
<MonthFebruary>Febrero</MonthFebruary>
<MonthJanuary>Enero</MonthJanuary>
<MonthJuly>Julio</MonthJuly>
<MonthJune>Junio</MonthJune>
<MonthMarch>Marzo</MonthMarch>
<MonthMay>Mayo</MonthMay>
<MonthNovember>Noviembre</MonthNovember>
<MonthOctober>Octubre</MonthOctober>
<MonthSeptember>Septiembre</MonthSeptember>
Hovewer the date is not translated.
Thanks for you help!