Internationalization

   Good morning. I have just started studying angular and syncfusion (for angular) schedule and calendars packages, and I am facing my first problem:
  
   after
   - set setCulture ('it'); to have internationalization in Italian,
   - set the L10n module to locate my scheduler
   I correctly display all the scheduler entries in Italian, except the "TODAY" entry in the "datepicker" which opens by clicking on the date (present at the top left of my agenda sheet)
   I enclose
   - app.module.ts
   - app.component.ts
   - app.component.html
   - package.json
  
   Furthermore, I cannot manage the internationalization of the datetimepicker. Where am I doing wrong?

Attachment: incidentzip_52ac7d88.zip

11 Replies

RV Ravikumar Venkatesan Syncfusion Team February 27, 2020 01:02 PM UTC

Hi Alfredo, 

Greetings from Syncfusion support. 

We have checked your shared code and prepared the sample based on that and it could be available in below link. 

 L10n.load({ 
        "it": { 
      "schedule": { 
        "day": "Giorno", 
        "week": "Settimana", 
        "workWeek": "Settimana lavorativa", 
        "month": "Mese", 
        "agenda": "Agenda", 
    }, 
    "calendar": { 
      "today": "OGGI" 
    }, 
  } 
  }); 


Kindly try the above sample and let us know for any further assistance on this. 

Regards, 
Ravikumar Venkatesan 



AL Alfredo February 28, 2020 10:54 AM UTC

Hi!
Thanks so much for your interest.
The "TODAY" problem has been brilliantly solved.
If I have problems again, I will not hesitate to contact you.
Thanks again


VM Vengatesh Maniraj Syncfusion Team March 2, 2020 06:29 AM UTC

Hi Alfredo, 
 
Thanks for the update. 
 
We are happy that your reported problem has resolved. 
 
Please get in touch with us if you would require any further assistance. 
 
Regards, 
Vengatesh. 



GO Gonzalo March 30, 2020 11:33 AM UTC

Hi,

I had the same problem and the solution worked for me, thanks for this.

But I found two other words that are not translated.

I attach two images to show this, the untranslated words are marked with a blue rectangle.

Thanks for the help.

Attachment: scheduler_9fead23e.zip


VM Vengatesh Maniraj Syncfusion Team March 31, 2020 07:13 AM UTC

Hi Gonzalo, 
 
Greetings from Syncfusion Support. 
 
We have validated your shared images and we suggest you use the below highlighted codes in your project to overcome the issue 
 
"schedule": { 
      "day": "Giorno", 
      "week": "Settimana", 
      "workWeek": "Settimana di lavoro", 
      "month": "Mese", 
      "agenda": "ordine del giorno", 
      "weekAgenda": "Agenda settimanale", 
      "workWeekAgenda": "Agenda della settimana lavorativa", 
      "monthAgenda": "Agenda mensile", 
      "today": "Oggi", 
      "noEvents": "Nessun evento", 
      "emptyContainer": "Non ci sono eventi in programma questo giorno.", 
      "allDay": "Tutto il giorno", 
      "start": "Inizio", 
      "end": "Fine", 
      "more": "Di Più", 
      "close": "Vicino", 
      "cancel": "Annulla", 
      "noTitle": "(Senza titolo)", 
      "delete": "Elimina", 
      "deleteEvent": "Quest'evento", 
      "deleteMultipleEvent": "Elimina più eventi", 
      "selectedItems": "Articoli selezionati", 
      "deleteSeries": "Tutta la serie", 
      "edit": "modificare", 
      "editSeries": "Tutta la serie", 
      "editEvent": "Quest'evento", 
      "createEvent": "Creare", 
      "subject": "Soggetto", 
 
"datetimepicker": { 
      "today": "Oggi" 
    }, 
 
Kindly change the words like above and if you still face the issue kindly share your locale words to serve you better. 
 
Regards,  
Vengatesh  



GO Gonzalo March 31, 2020 07:40 AM UTC

Hi,

Thank you for the response.

The 'today' text worked for me. But on the same window, some of title tag attributes are not able to translate.

The 'editEvent' text translate not worked for me. Also when I create an event without title, the 'Add title' text is not translated.

I attach some captures and put here my locale words.

Thank you for the support.

es: {
    schedule: {
      day: 'Día',
      week: 'Semana',
      workWeek: 'Semana laboral',
      month: 'Mes',
      agenda: 'Agenda',
      weekAgenda: 'Agenda semanal',
      workWeekAgenda: 'Agenda de semana laboral',
      monthAgenda: 'Agenda mensual',
      today: 'Hoy',
      noEvents: 'No hay eventos',
      emptyContainer: 'No hay eventos programados para este día.',
      allDay: 'Todo el día',
      start: 'Inicio',
      end: 'Fin',
      more: 'más',
      close: 'Cerrar',
      cancel: 'Cancelar',
      noTitle: '(Sin título)',
      delete: 'Borrar',
      deleteEvent: 'Borrar Evento',
      deleteMultipleEvent: 'Borrar Múltiples Eventos',
      selectedItems: 'Items seleccionados',
      deleteSeries: 'Borrar Series',
      edit: 'Editar',
      editSeries: 'Editar Series',
      editEvent: 'Editar Evento',
      createEvent: 'Crear',
      subject: 'Asunto',
      addTitle: 'Añadir título',
      moreDetails: 'Más Detalles',
      save: 'Guardar',
      editContent: '¿Quieres editar solo este evento o la serie completa?',
      deleteRecurrenceContent: '¿Quieres borrar solo este evento o la serie completa?',
      deleteContent: '¿Borrar este evento?',
      deleteMultipleContent: '¿Borrar los eventos seleccionados?',
      newEvent: 'Nuevo Evento',
      title: 'Título',
      location: 'Localización',
      description: 'Descripción',
      timezone: 'Zona horaria',
      startTimezone: 'Zona horaria de inicio',
      endTimezone: 'Zona horario de fin',
      repeat: 'Repetir',
      saveButton: 'Guardar',
      cancelButton: 'Cancelar',
      deleteButton: 'Borrar',
      recurrence: 'Reaparición',
      wrongPattern: 'El patrón de reaparición no es válido.',
      seriesChangeAlert: 'Los cambios realizados en instancias específicas de esta serie se cancelarán y esos eventos volverán a coincidir con la serie.',
      createError:
        'La duración del evento debe ser más corta que la frecuencia con la que ocurre. Acorte la duración o cambie el patrón de recurrencia en el editor de eventos de recurrencia.',
      recurrenceDateValidation: 'Algunos meses tienen menos de la fecha seleccionada. Para estos meses, la ocurrencia caerá en la última fecha del mes.',
      sameDayAlert: 'Dos ocurrencias del mismo evento no pueden ocurrir el mismo día.',
      editRecurrence: 'Editar reaparición',
      repeats: 'Repeticiones',
      alert: 'Alerta',
      startEndError: 'La fecha de finalización seleccionada ocurre antes de la fecha de inicio.',
      invalidDateError: 'El valor de la fecha introducida no es válido.',
      ok: 'Ok',
      occurrence: 'Occurencia',
      series: 'Series',
      previous: 'Anterior',
      next: 'Siguiente',
      timelineDay: 'Día de la línea de tiempo',
      timelineWeek: 'Mes de la línea de tiempo',
      timelineWorkWeek: 'Semana laboral de la línea de tiempo',
      timelineMonth: 'Mes de la línea de tiempo'
    },
    recurrenceeditor: {
      none: 'Ninguno',
      daily: 'Diario',
      weekly: 'Semanal',
      monthly: 'Mensual',
      month: 'Mes',
      yearly: 'Anual',
      never: 'Nunca',
      until: 'Hasta',
      count: 'Contar',
      first: 'Primero',
      second: 'Segundo',
      third: 'Tercero',
      fourth: 'Cuarto',
      last: 'Último',
      repeat: 'Repetir',
      repeatEvery: 'Repetir cada',
      on: 'Repetir en',
      end: 'Fin',
      onDay: 'Día',
      days: 'Día(s)',
      weeks: 'Semana(s)',
      months: 'Mes(es)',
      years: 'Año(s)',
      every: 'cada',
      summaryTimes: 'tiempo(s)',
      summaryOn: 'en',
      summaryUntil: 'hasta',
      summaryRepeat: 'Repeticiones',
      summaryDay: 'día(s)',
      summaryWeek: 'semana(s)',
      summaryMonth: 'mes(es)',
      summaryYear: 'año(s)'
    },
    calendar: {
      today: 'Hoy'
    },
    datetimepicker: {
      today: 'HOY'
    }
  }


Attachment: scheduler2_357ad376.zip


VM Vengatesh Maniraj Syncfusion Team April 1, 2020 10:03 AM UTC

Hi Gonzalo, 

Thanks for the update. 

Edit event 
We have checked this issue at our end but it could be working fine. Please refer to the below image. 
 

Add Title 

We could able to reproduce this issue and we could be overcome this issue by overriding the subject name in actionBegin event like below 
public onActionBegin(args){ 
    if(args.requestType === 'eventCreate' && args.addedRecords[0].Subject === 'Add title' ){ 
      args.addedRecords[0].Subject = "Añadir título"; 
    } 
    if(args.requestType === 'eventChange' && args.changedRecords[0].Subject === 'Add title'){ 
      args.changedRecords[0].Subject = "Añadir título"; 
    } 
  } 

For the same, we have prepared the sample which available in the below link. 

Tooltip text in Editor Window 
We could able to reproduce the reported issue and we have considered this as defect. So we have logged the defect report at our end and the fix will be included in our upcoming patch release. 

Regards, 
Vengatesh  



GO Gonzalo April 1, 2020 01:54 PM UTC

Hi Vengatesh,

Thank you for the response.

Edit event: This works with my locale words? I see this text always on English with these translations.

Add title: This solution works. But this text will be added along with the rest of texts? this would be better and more clear.

Tooltip: Ok, I will wait for the patch.

Thank you again for the help.


VM Vengatesh Maniraj Syncfusion Team April 2, 2020 05:27 AM UTC

Hi Gonzalo, 
 
Thanks for the update. 
 
Edit Event: Kindly check our previously updated sample which may help you resolve this problem. If you still face the problem, kindly replicate the issue in our sample. 
 
Add Title: Sorry for the inconvenience. This is the partial solution and the solution will be available along with the Tooltip patch.  
 
Please let us know for further assistance. 
  
Regards,  
Vengatesh 



GO Gonzalo April 2, 2020 05:55 AM UTC

Hi Vengatesh,

After I check the example, I found many words that not exists in the documentation example: Documentation

One of these words are 'editTitle', which was the one I needed. 

Thank you again for the help.

Regards


VM Vengatesh Maniraj Syncfusion Team April 3, 2020 06:03 AM UTC

Hi Gonzalo, 

Thanks for the update. 

Currently, the document enhancement is in progress at our end and we will publish the changes in any of our upcoming patch release. So we recommend you refer to the latest locale text in the below link. 


Kindly refer to the above link and use the entire text of the Scheduler and check the result. 

Please get back to us if you would require any further assistance. 

Regards, 
Vengatesh 



Loader.
Up arrow icon