robert-j-engdahl / ngettext-wpf

Proper internationalization support for WPF (via NGettext)
GNU Lesser General Public License v3.0
10 stars 12 forks source link

Gottcha with phrases ending or starting with a space in xaml #26

Closed D-Bullock closed 5 years ago

D-Bullock commented 5 years ago

If you want to have a space at the start or end of your xaml translation, ie {wpf:Gettext example } you need to make sure you enclose it in quotes ie: {wpf:Gettext 'example '}

I'm posting this to help those who come after - maybe it should be added to a faq or something..

robert-j-engdahl commented 5 years ago

Great. You can also use Stack Overflow for such questions (you may provide the answer yourself). I think they are easier to find, people can vote and you get stack overflow points and stuff.

I've updated the readme with this support option as well. Use the tag ngettext.wpf https://stackoverflow.com/questions/ask?tags=ngettext.wpf Someone needs to ask the first question before I can follow the tag though :)