csgettext 0.0.2

dotnet tool install --global csgettext --version 0.0.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local csgettext --version 0.0.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=csgettext&version=0.0.2
nuke :add-package csgettext --version 0.0.2

csgettext

This is a tool project to assist C# projects in implementing internationalization functionality.

This project will scan all .cs files for private readonly fields of types IStringLocalizer and IStringLocalizer<T>.

For more information, please refer to Microsoft Docs

How to use

1. Install csgettext

dotnet tool install -g csgettext

2. Run csgettext

// Generate .pot format file
csgettext -d <input directory> -o <output file>
// Or generate .pot format file and merge with existing .po file
csgettext -d <input directory> -o <output file> --languages <language code>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.0.2 269 12/9/2023
0.0.1 146 12/9/2023