Page 1 of 1

Variable Today Localization

Posted: Wed Feb 03, 2016 8:20 am
by jimyWeb
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!

Re: Variable Today Localization

Posted: Thu Feb 04, 2016 6:23 am
by HighAley
Hello.

Unfortunately, it's impossible now.
We are working on adding localization features.
Please, follow our updates.

Thank you.

Re: Variable Today Localization

Posted: Thu Jun 06, 2019 8:59 pm
by gegar
Hello

I have the same example

The last version: 2019.3

{Today.ToString("dddd, dd MMMM yyyy")} = Thursday, June 06, 2019 12:00 AM

I use the localization file: es.xml

// Load and design report
Stimulsoft.Base.Localization.StiLocalization.setLocalizationFile("localization/es.xml", true);
date.jpg
date.jpg (84.67 KiB) Viewed 1520 times
Why?

Thanks for your help.

Re: Variable Today Localization

Posted: Mon Jun 10, 2019 7:15 am
by Lech Kulikowski
Hello,

These values depend from the system localizations, not from load localization file.

Thank you.