ResearchCave.TSync
1.1.0
dotnet tool install --global ResearchCave.TSync --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local ResearchCave.TSync --version 1.1.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=ResearchCave.TSync&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package ResearchCave.TSync --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ResearchCave TSync
ResearchCave TSync is a .NET localization sync tool for ASP.NET projects.
It scans IStringLocalizer string usage from C# and Razor sources, then generates or updates translation files:
pot(template)po(gettext)resx(resource XML)
Install
Global tool:
dotnet tool install -g ResearchCave.TSync
Local tool (recommended for teams):
dotnet new tool-manifest
dotnet tool install ResearchCave.TSync
Update
dotnet tool update -g ResearchCave.TSync
Usage
Show help:
tsync --help
Scan project:
tsync scan ./MyWebApp.csproj
Generate POT:
tsync pot ./MyWebApp.csproj --output Localization/messages.pot
Generate PO for one culture:
tsync po ./MyWebApp.csproj --culture tr --output Localization/tr.po
Generate multiple PO outputs in one command (culture inferred from output file names):
tsync po ./MyWebApp.csproj \
--output Localization/en.po \
--output Localization/tr.po \
--output Localization/de.po
Generate RESX:
tsync resx ./MyWebApp.csproj --culture tr --output Resources/SharedResource.tr.resx
Run without building target project (useful after a prior warm-up build):
tsync scan ./MyWebApp.csproj --no-build
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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.