- Home
- Forum
- Xamarin.Forms
- sflistview languae change not working properly
sflistview languae change not working properly
Hi there,
I have integrated sflistview in my android app but when I change the language of app, all other text language changed but sflistview text language is not changing sometimes.
Suppose I have two launages support for my app english and hindi, when I change the language english to hindi at app start and navigate to page that contains sflistview, there sflistview item lables are not taking hindi, while other labels that are not in sflistview are showing in hindi.
Can you help me with this.
Thanks in advance.
I have integrated sflistview in my android app but when I change the language of app, all other text language changed but sflistview text language is not changing sometimes.
Suppose I have two launages support for my app english and hindi, when I change the language english to hindi at app start and navigate to page that contains sflistview, there sflistview item lables are not taking hindi, while other labels that are not in sflistview are showing in hindi.
Can you help me with this.
Thanks in advance.
SIGN IN To post a reply.
3 Replies
MK
Muthu Kumaran Gnanavinayagam
Syncfusion Team
January 22, 2018 01:19 PM UTC
Hi Hardik,
We have checked the reported query at our end and we want to inform you that SfListView does not provide support for dynamically changing the culture of its template items at run time(either by using Localization (or) by changing the CurrentCulture). It is used to populate the underlying collection and display them in the View in the form of list. So the item data which is passed to the collection will be set to the SfListView. If your requirement is to change the language of the SfListView items, you need to alter the values of the properties bound to the Text property in SfListView’s ItemTemplate and refresh the View to achieve the requirement.
If the above solution does not meet your requirement, then please share more details regarding your achievement or share a sample to replicate the issue which helps us to analyze and resolve the query better.
Regards,
G.Muthu kumaran.
HP
Hardik Parmar
January 24, 2018 07:22 AM UTC
Hi there,
Got the issue after your reply.
We have checked the reported query at our end and we want to inform you that SfListView does not provide support for dynamically changing the culture of its template items at run time(either by using Localization (or) by changing the CurrentCulture). It is used to populate the underlying collection and display them in the View in the form of list. So the item data which is passed to the collection will be set to the SfListView.
Thanks to this reply, I am able to find the issue as it's taking data from the previous page in context and store it. It's my fault. Sorry to disturb you.
Thanks,
Hardik
Got the issue after your reply.
We have checked the reported query at our end and we want to inform you that SfListView does not provide support for dynamically changing the culture of its template items at run time(either by using Localization (or) by changing the CurrentCulture). It is used to populate the underlying collection and display them in the View in the form of list. So the item data which is passed to the collection will be set to the SfListView.
Thanks to this reply, I am able to find the issue as it's taking data from the previous page in context and store it. It's my fault. Sorry to disturb you.
Thanks,
Hardik
MK
Muthu Kumaran Gnanavinayagam
Syncfusion Team
January 25, 2018 04:13 AM UTC
Hi Hardik,
Thanks for the valuable response.
Regards,
G.Muthu kumaran.
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
-
HP Hardik Parmar
- Jan 20, 2018 08:39 PM UTC
- Jan 25, 2018 04:13 AM UTC