We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Localization of "No events" in MonthInlineView

Thread ID:

Created:

Updated:

Platform:

Replies:

130618 May 22,2017 07:32 AM Jun 20,2017 09:32 AM Xamarin.Forms 4
loading
Tags: SfSchedule
Jaromir Nechanicky
Asked On May 22, 2017 07:32 AM

Hi,

is it possible to localize "No events" text in MonthInlineView?
Also to don't display MonthInlineView, if no events are present is possible workaround for me.

Thanks
Jaromir

Subburaj Pandian Veluchamy [Syncfusion]
Replied On May 23, 2017 09:59 AM

Hi Jaromir, 
 
Yes, you can localize the Schedule Month Inline View string “No Events” in Xamarin Forms. By setting the required localized string to the string of “No events” in the Resource (for Android) and Custom String for iOS. We have prepared sample based on your requirement, please find the below sample. 
 
 
Please let us know, if you have any query on this. 
 
Regards,  
Subburaj Pandian V.    


Emil
Replied On June 15, 2017 05:35 PM

Hi, your sample is just overwriting english text but he is asking how to localize it. if i use german, text should be german, if i use english, it should be english. Is there a way to achieve this please?I tried using values as described here https://help.syncfusion.com/xamarin/sfschedule/localizationI created values-de and strings.xml under itbut it doesnt pick up. I always see english text which is in values folder strings.xmlIn your sample it shows "No events" but above you say "No_Appointments". which one is the correct one?thanks,Emil 

Emil
Replied On June 16, 2017 07:07 AM

Actually sample in the link is working when I change the language of the phone. Problem I am having is that I have options that user can change the language inside the app. How can I override myself "No event" when user decides different language than phone's OS? 

Subburaj Pandian Veluchamy [Syncfusion]
Replied On June 20, 2017 09:32 AM

Hi Emil, 
 
Thank you for the update. 
 
As per the implementation, Schedule control has complete localization support for all the calendar elements such as Date, Time, days. For Custom strings, such as Appointment, InlineView string (AllDay, No Events) will not be localized as default, as we mentioned in the earlier update it can be localized by own custom strings. You can handle text / number by your own for those custom strings, as of now changing the custom strings based on the system / device local with the multiple language in the sample level cannot be achieved. 
 
 
Regards,
Subburaj Pandian V
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;