ResearchCave Technology

ResearchCave.Live.Localization (1.0.2)

Published 2026-10-12 22:56:28 +03:00 by admin

Installation

dotnet nuget add source --name ResearchCave --username your_username --password your_token https://git.researchcave.com/api/packages/ResearchCave/nuget/index.json
dotnet add package --source ResearchCave --version 1.0.2 ResearchCave.Live.Localization

About this package

Portable TSync translation catalogs for ResearchCave Live web and native clients.

ResearchCave.Live.Localization

Portable, embedded English, Turkish, German and Arabic catalogs for Live. Use LiveStringLocalizer (IStringLocalizer<LiveStrings>) for presentation. Regional variants resolve by language; unsupported languages fall back to English. User messages, names, identifiers and API contracts are never translated.

PO files are the editable source. Run ../localize.ps1 to extract keys and ../update-translations.ps1 to merge and compile catalogs with ResearchCave TSync. The publisher validates compiled catalog hashes and placeholders before packing.

The scripts invoke the ResearchCave.TSync dotnet tool for POT extraction, PO merging and JSON compilation. English uses --copy-source --overwrite; other languages keep their existing translations. Generated JSON is not edited. Server and browser PO sources are packed in separate directories.

Sentient opens the Live dashboard with embedded=1&culture=<active culture>. The service selects the same server culture and browser catalog, with RTL direction for Arabic. Local Razor links, forms and client navigation preserve culture and existing embedded context. Sentient's language switch reloads the embedded screen.

The studio geometry, participant controls and program output expose synchronous module APIs. Studio initialization awaits catalog loading before rendering text.

Dependencies

ID Version Target Framework
Microsoft.Extensions.Localization.Abstractions 10.0.12 net10.0
Details
NuGet
2026-10-12 22:56:28 +03:00
1
ResearchCave.Live.Localization
116 KiB
Assets (2)
Versions (3) View all
1.0.2 2026-10-12
1.0.1 2026-10-12
1.0.0 2026-10-12