Hi there,
I have a Schedule control which I'm trying to change the language and localization to Spanish (es-ES), currently using Essential Studio v15.4.0.17.
In my Master Page I have added the necessary js files (as stated
here and
here), like this:
<%: Scripts.Render("~/Scripts/ej/ej.web.all.min.js")%>
<%: Scripts.Render("~/Scripts/ej/i18n/ej.culture.es-ES.min.js") %>
<%: Scripts.Render("~/Scripts/ej/l10n/ej.localetexts.es-ES.min.js" ) %>
and my Schedule control (on a child/content page) looks like this:
<ej:Schedule ID="Schedule1" DataSourceID="DataSourceAppointments" runat="server"
Locale="es-ES" ClientIDMode="Static" TimeMode="Hour12" ShowAllDayRow="false" AppointmentWindowOpen="onAppointmentOpen"
AllowDelete="true" ShowTimeZoneFields="false" OnServerAppointmentCreated="Schedule1_ServerAppointmentCreated"
OnServerAppointmentDeleted="Schedule1_ServerAppointmentDeleted" OnServerAppointmentEdited="Schedule1_ServerAppointmentEdited"
OnServerDragStop="Schedule1_ServerDragStop" OnServerResizeStop="Schedule1_ServerResizeStop" CurrentView="day" CellHeight="30px"
Views="Day,Week,Month,Agenda" FirstDayOfWeek="Monday" ShowAppointmentNavigator="false" IsResponsive="true" Height="703px" ShowCurrentTimeIndicator="false">
<AppointmentSettings Id="Id" Subject="Subject" AllDay="IsAllDay" StartTime="StartTime"
EndTime="EndTime" Description="Description" Recurrence="IsRecurrence"
RecurrenceRule="RecurrenceRule" ApplyTimeOffset="false" />
</ej:Schedule>
However text such as months, days and text related to localization is not getting translated to Spanish:
Now, there is some text that is being translated like "Topic" ("Tema") or "Start Time" ("Hora de Inicio") however this is the effect of <%: Scripts.Render("~/Scripts/ej/l10n/ej.localetexts.es-ES.min.js" ) %> but the effect of <%: Scripts.Render("~/Scripts/ej/i18n/ej.culture.es-ES.min.js") %> is not working.
I already made sure it is not something reated to the Web Browser language. Even changed the localization to es-ES in the web.config of the project.
Not matter what I try I can't make it work.
A little
help is highly appreciated.
I'm attaching my master page and the content page that has the Schedule control
Attachment:
ScheduleLocaleError_a26d7df7.rar