NGettext.Wpf 1.2.6-alpha

Proper internationalization support for WPF (via NGettext).  In particular a GetTextMarkupExtension is included, which is what everyone uses anyway.

This is a prerelease version of NGettext.Wpf.
Install-Package NGettext.Wpf -Version 1.2.6-alpha
dotnet add package NGettext.Wpf --version 1.2.6-alpha
<PackageReference Include="NGettext.Wpf" Version="1.2.6-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NGettext.Wpf --version 1.2.6-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

[1.2.6-alpha] - 2019-08-16

Added

  • XGettext-Xaml annotated locations match the given parameter instead of just the filename. This is useful when making PoEdit friendly .po files where the locations must be relative. Thanks to @PGPoulsen for the PR.

Fixed

  • 46 Crash when localizing invalid enum value

[1.2.5-alpha] - 2019-06-13

Added

  • Experimental TranslationSerializer for making localized json objects that can be used from TSQL like so
SELECT 
    JSON_VALUE([Message], '$."en-US"') AS 'English', 
    JSON_VALUE([Message], '$."da-DK"') AS 'Danish'
FROM (VALUES 
    (N'{"en-US": "Some message", "da-DK": "En eller anden besked"}')) 
AS Example([Message])

[1.2.4] - 2019-06-13

[1.2.4-alpha] - 2019-05-29

Fixed

  • 40 Show Text=&quot;{wpf:Gettext Context|MsgId}&quot; as MsgId in XAML Designer

[1.2.3-alpha] - 2019-03-18

Fixed

  • #37 GNOME glib syntax for [EnumMsgId] attribute.

[1.2.2-alpha] - 2019-02-27

Fixed

  • #34 Crash when msgId was null.

[1.2.1-alpha] - 2019-02-27

Fixed

  • Wrong binaries released with 1.2.0-alpha.

[1.2.0-alpha] - 2019-02-27

Added

  • #30 GettextFormatConverter XAML extension.

Fixed

  • Multiple keywords for XGettext-Xaml.ps1 didn't work.
  • #31 GNOME glib syntax does not work for static translation methods in C# (Translation._()).

[1.1.0-alpha] - 2019-02-19

Deprecated

  • Translation.PluralGettext() will be replaced by Translation.GetPluralString() in 2.x

Changed

  • Gettext XAML extension follows Gnome GLib style context syntax.

[1.2.6-alpha] - 2019-08-16

Added

  • XGettext-Xaml annotated locations match the given parameter instead of just the filename. This is useful when making PoEdit friendly .po files where the locations must be relative. Thanks to @PGPoulsen for the PR.

Fixed

  • 46 Crash when localizing invalid enum value

[1.2.5-alpha] - 2019-06-13

Added

  • Experimental TranslationSerializer for making localized json objects that can be used from TSQL like so
SELECT 
    JSON_VALUE([Message], '$."en-US"') AS 'English', 
    JSON_VALUE([Message], '$."da-DK"') AS 'Danish'
FROM (VALUES 
    (N'{"en-US": "Some message", "da-DK": "En eller anden besked"}')) 
AS Example([Message])

[1.2.4] - 2019-06-13

[1.2.4-alpha] - 2019-05-29

Fixed

  • 40 Show Text=&quot;{wpf:Gettext Context|MsgId}&quot; as MsgId in XAML Designer

[1.2.3-alpha] - 2019-03-18

Fixed

  • #37 GNOME glib syntax for [EnumMsgId] attribute.

[1.2.2-alpha] - 2019-02-27

Fixed

  • #34 Crash when msgId was null.

[1.2.1-alpha] - 2019-02-27

Fixed

  • Wrong binaries released with 1.2.0-alpha.

[1.2.0-alpha] - 2019-02-27

Added

  • #30 GettextFormatConverter XAML extension.

Fixed

  • Multiple keywords for XGettext-Xaml.ps1 didn't work.
  • #31 GNOME glib syntax does not work for static translation methods in C# (Translation._()).

[1.1.0-alpha] - 2019-02-19

Deprecated

  • Translation.PluralGettext() will be replaced by Translation.GetPluralString() in 2.x

Changed

  • Gettext XAML extension follows Gnome GLib style context syntax.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.6-alpha 314 8/16/2019
1.2.5-alpha 189 6/13/2019
1.2.4 441 6/13/2019
1.2.4-alpha 198 5/29/2019
1.2.3-alpha 240 3/18/2019
1.2.2-alpha 205 2/27/2019
1.2.1-alpha 194 2/27/2019
1.2.0-alpha 198 2/27/2019
1.1.0-alpha 206 2/19/2019
1.0.23-alpha 257 11/2/2018
1.0.22-alpha 239 10/26/2018
1.0.21-alpha 250 9/28/2018
1.0.20-alpha 238 9/27/2018
1.0.18-alpha 241 9/26/2018
1.0.17-alpha 390 6/19/2018
1.0.16-alpha 406 4/18/2018
1.0.15-alpha 365 4/12/2018
1.0.14-alpha 319 3/8/2018
1.0.13-alpha 361 3/4/2018
1.0.12-alpha 387 3/3/2018
1.0.11-alpha 373 3/1/2018
1.0.9-alpha 383 2/28/2018
1.0.8-alpha 452 2/23/2018
1.0.7-alpha 389 1/5/2018
1.0.6-alpha 339 1/5/2018
1.0.5-alpha 347 1/2/2018
1.0.0-alpha 385 12/28/2017