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!
Variable Today Localization
Re: Variable Today Localization
Hello.
Unfortunately, it's impossible now.
We are working on adding localization features.
Please, follow our updates.
Thank you.
Unfortunately, it's impossible now.
We are working on adding localization features.
Please, follow our updates.
Thank you.
Re: Variable Today Localization
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);
Why?
Thanks for your help.
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);
Why?
Thanks for your help.
-
- Posts: 6254
- Joined: Tue Mar 20, 2018 5:34 am
Re: Variable Today Localization
Hello,
These values depend from the system localizations, not from load localization file.
Thank you.
These values depend from the system localizations, not from load localization file.
Thank you.