Timeline Day cannot be localized

Hi,

I followed the steps for globalization in Angular Schedule and localizing the static Scheduler text.
Everything worked properly unless localizing the"Timeline Day" or "Timeline Week".
Please help me.

Regards,

Mircea


5 Replies

VM Vengatesh Maniraj Syncfusion Team February 12, 2020 07:04 AM UTC

Hi Mircea, 

Greetings from Syncfusion Support. 

To achieve this, set the locale property of Scheduler, as well as define the translation text of static words of Scheduler through the load method like below. 
 
L10n.load({ 
    'fr-CH': { 
        'schedule': { 
            'day': 'journée', 
            'week': 'La semaine', 
            'workWeek': 'Semaine de travail', 
            'month': 'Mois', 
            'today': 'Aujourd`hui' 
        } 
    } 
}); 
 
Please visit our below UG documentation link for more reference. 
 

Please let us know for further assistance. 

Regards, 
Vengatesh 



MI Mircea February 12, 2020 07:35 AM UTC

Hi Vengatesh,

I was using exactly the same code but the words" Timeline Day" could not be localized. All the others yes.
Maybe because there are 2 separate words?

Thank you very much for your help.

Regards,

Mircea


VM Vengatesh Maniraj Syncfusion Team February 12, 2020 12:29 PM UTC

Hi Mircea, 

Thanks for the update. 

You are absolutely correct. To change the Timeline views text, we need to use the words like below, 

"timelineDay": "Timeline Day", 
"timelineWeek": "Timeline Week", 
"timelineWorkWeek": "Timeline Work Week", 
"timelineMonth": "Timeline Month", 
"timelineYear": "Timeline Year", 

Kindly refer the above and revert us for further assistance. 

Regards, 
Vengatesh. 



MI Mircea February 12, 2020 02:04 PM UTC

Hi Vengatesh,

Now it's working.

Thank you for your help.

Regards,

Mircea


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

Hi Mircea,  
  
You are most welcome😊 
 
We are happy that your requirement has fulfilled.  

Regards, 
Vengatesh 


Loader.
Up arrow icon