The client is requesting a localization solution to using Tabs in the Infragistics Ultimate UI for WPF controls.
Previously they have released the layouts Tab using your controls from ASP.NET and Windows Forms.
Depending on local data would have a different Tab list layout in their application.
The local office is from Japan, they would need Japanese localization solution to WPF but based on their country's user in the Windows Application and ASP.NET Web Application experience.
Since the branding that is run on WPF need to match the same look and feel from both previous platforms, the developers need an inheritance solution for dynamic localization Tab layouts.
Do you have an inherited sample solution written in C# that would provide dynamic Tab layout lists that are different in Japan and outside of the country?
Hello Duane,
My team and I have done an initial review of this forum thread, and by an “inherited sample solution” in this case, I am under the impression that you are looking to be able to reuse the code that you used for the Windows Forms or ASP.NET layouts that you have previously released. If my impression in this case is incorrect, please let me know.
Continuing from the above impression, the WPF XamTabControl does not share its code with the Windows Forms UltraTabControl, but it is still possible to host Windows Forms controls within a WPF application if you wish to go that route. There is information on how to do that here: https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/walkthrough-hosting-a-windows-forms-control-in-wpf?view=netframeworkdesktop-4.8. This would potentially allow you to reuse the code you have written for the Windows Forms solution that you mentioned within a WPF application.
Regarding having a dynamic Tab layout list that is different in Japan and outside of the country, something you could do to achieve this would be to add the tabs dynamically based on the static CultureInfo.CurrentCulture as this will be pulled from the system information of the machine that the application is running on. For example, you could do something like the following:
CultureInfo info = CultureInfo.CurrentCulture; if (info.IetfLanguageTag.Contains("jp")) { //Japanese localization - add tabs for Japanese culture }
The part I’m unsure about with your original description is whether or not the tab list itself is going to change, or if you simply want the headers of the tabs to be localized when the application is run in other locales? If you are looking for the headers of the tabs to be localized, it should be possible to do this using Resource Strings using the methods described here: https://jeremybytes.blogspot.com/2013/07/changing-culture-in-wpf.html.
I hope this helps. Please let me know if you have any other questions or concerns on this matter.
You just don't clearly understand what is being requested here. Even though this is a WPF forum, what the client needs clearly is to be able to use all of the platforms for layout tabs. Yes, your Infragistics layout tabs.
It doesn't make any sense that you have check marks for WPF, Windows Forms, and ASP.NET in your Ultimate UI product for the same controls if the client gets blamed from WPF when previously the team has released their Windows Forms application using your Infragistics controls.
Just about every reply that you have posted is a solution about WPF only and Windows Forms only, not base class implementations to use both WPF and Windows Forms using your Infragistics controls.
By the way based on your responses you seem to expect that all platforms need to be tested. That's only because you have no base inheritance, your company is really really terrible when it comes to testing only one platform and ensuring that all platforms work using your Infragistics controls.