Configure Ollama and LibreTranslate for AI localization
The same AI core supports Visual Studio VSIX, NuGet analyzers, CI, and custom tools.
Visual Studio VSIX
Tools -> Options -> Lizerium Localization -> AI Servers
NuGet analyzer and CI
LIZERIUM_OLLAMA_URL=http://localhost:11434
LIZERIUM_OLLAMA_MODEL=qwen2.5:7b
LIZERIUM_OLLAMA_GENERATE_ENDPOINT=/api/generate
LIZERIUM_LIBRETRANSLATE_URL=http://localhost:5000
LIZERIUM_AI_TIMEOUT_SECONDS=30
Direct AI Core usage
var options = AiLocalizationOptions.FromEnvironment();
var service = new AILocalizationService(options);
Lizerium