Click here to Skip to main content
15,886,919 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
CodeWraith15-May-19 2:25
CodeWraith15-May-19 2:25 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler15-May-19 2:35
Gary Wheeler15-May-19 2:35 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
CodeWraith15-May-19 2:57
CodeWraith15-May-19 2:57 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler15-May-19 3:00
Gary Wheeler15-May-19 3:00 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
CodeWraith15-May-19 3:51
CodeWraith15-May-19 3:51 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler14-May-19 8:37
Gary Wheeler14-May-19 8:37 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
David A. Gray14-May-19 12:22
David A. Gray14-May-19 12:22 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler15-May-19 1:56
Gary Wheeler15-May-19 1:56 
I know it sounds like a bad case of not-invented-here, but we're stuck on VS2008. Back then, the only 'tool' available was a sample program called LocBaml. It used .NET facilities to traverse compiled XAML (aka BAML) and produce translated resource DLL's. Unfortunately LocBaml wasn't very capable and didn't handle a lot of cases. Fortunately the source code for LocBaml was provided.

I wrote my own tool to handle LocBaml's missing cases and to provide a better persistence format for translators. It also handles the typical use-case of updating an existing translation to new code, which LocBaml did not.
Software Zen: delete this;

GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
David A. Gray15-May-19 5:55
David A. Gray15-May-19 5:55 
GeneralWizzardWrx .NET API Core Available on NuGet Pin
David A. Gray2-May-19 9:26
David A. Gray2-May-19 9:26 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
Dewey2-May-19 16:50
Dewey2-May-19 16:50 
PraiseRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland2-May-19 20:32
mveRickZeeland2-May-19 20:32 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray3-May-19 9:01
David A. Gray3-May-19 9:01 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland3-May-19 20:15
mveRickZeeland3-May-19 20:15 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray3-May-19 20:17
David A. Gray3-May-19 20:17 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland3-May-19 20:34
mveRickZeeland3-May-19 20:34 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray3-May-19 20:58
David A. Gray3-May-19 20:58 
PraiseRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland3-May-19 21:02
mveRickZeeland3-May-19 21:02 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray3-May-19 21:07
David A. Gray3-May-19 21:07 
PraiseRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland3-May-19 23:00
mveRickZeeland3-May-19 23:00 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray5-May-19 16:29
David A. Gray5-May-19 16:29 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
Marc Clifton3-May-19 9:01
mvaMarc Clifton3-May-19 9:01 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
RickZeeland3-May-19 21:07
mveRickZeeland3-May-19 21:07 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
User 110609796-May-19 10:39
User 110609796-May-19 10:39 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray6-May-19 11:10
David A. Gray6-May-19 11:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.