Replies: 1 comment
-
I haven't heard of any such efforts, but given this project GetText.Net is based on NGetText and share most of the public API, it should be manageable attempt to port existing NGetText (or other libraries based on gettext-alike interfaces) WPF/Xaml helpers to GetText.Net
Not sure what is needed here, but there is also CatalogManager which can handle multiple catalogs ie. per assembly (which should be equivalent to csproj). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
has anyone yet used GetText.NET for a WPF Application or other Xaml-Files?
It seems quite doable to extend GetText.NET in a clean way to also support WPF, just as GetText.NET WindowsForms does it for WinForms.
Actually, in contrast to the WindowsForms-approach, I would prefer to explicitly mark any translatable text in the Xaml, e.g. surround it by some MarkupExtension with additional context description, maybe some tricky mechanism to choose the right catalog per *.csproj.
Maybe somebody did this already in one of the various forks? Searching the internet only found solutions based on NGetText directly, but I really like the improvements added by this project.
Beta Was this translation helpful? Give feedback.
All reactions