GuOrg / Gu.Localization

MIT License
71 stars 12 forks source link

Setting "Explicit languages" does not work #227

Open JanPichl opened 2 years ago

JanPichl commented 2 years ago

Using the following code from the example.

<l:LanguageSelector>
    <l:Language Culture="de-DE"
                FlagSource="pack://application:,,,/Gu.Wpf.Localization;component/Flags/de.png" />
    <l:Language Culture="en-GB"
                FlagSource="pack://application:,,,/Gu.Wpf.Localization;component/Flags/gb.png" />
    <l:Language Culture="sv-SE"
                FlagSource="pack://application:,,,/Gu.Wpf.Localization;component/Flags/se.png" />
</l:LanguageSelector>

Throws the following errors in the XAML designer:

JanPichl commented 2 years ago

Broken by the commit on 28.6.2020 13:13-> by removing the parameterless constructor.