Click here to Skip to main content
14,241,575 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
memberCodeWraith15-May-19 2:25 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler15-May-19 2:35
memberGary Wheeler15-May-19 2:35 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
CodeWraith15-May-19 2:57
memberCodeWraith15-May-19 2:57 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler15-May-19 3:00
memberGary Wheeler15-May-19 3:00 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
CodeWraith15-May-19 3:51
memberCodeWraith15-May-19 3:51 
GeneralRe: Color Me Spoiled: XAML for WPF Can't See Uncompiled Resource Strings Pin
Gary Wheeler14-May-19 8:37
memberGary 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
groupDavid 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
memberGary 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
groupDavid A. Gray15-May-19 5:55 
GeneralWizzardWrx .NET API Core Available on NuGet Pin
David A. Gray2-May-19 9:26
groupDavid A. Gray2-May-19 9:26 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
Dewey2-May-19 16:50
memberDewey2-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
groupDavid 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
groupDavid 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
groupDavid 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
groupDavid 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
groupDavid A. Gray5-May-19 16:29 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
Marc Clifton3-May-19 9:01
protectorMarc 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
0x01AA6-May-19 10:39
professional0x01AA6-May-19 10:39 
GeneralRe: WizzardWrx .NET API Core Available on NuGet Pin
David A. Gray6-May-19 11:10
groupDavid 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.