Get the latest tech news

Localization in .NET console and desktop apps


Having gone through countless different solutions to the ever present problem of localizing .NET applications, I think I've finally found a ...

The main driver this time was the need to provide a convenient way to translate texts used in the Xecrets Ez desktop app for easier file encryption. Then when looking for a library to work with .po files, thinking to roll my own somehow, deep inside a related sample project I found POTools! Doing the extraction, or discovery if you like, of translatable strings from a structured source like a .resx file is easy, solid and dependable - and fits the general development model of .NET better than wrapping all texts in T() method calls, similar to the original C-style gettext mode of operations.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of apps

apps

Photo of desktop

desktop

Photo of console

console

Related news:

News photo

Goldboot: Immutable infrastructure for the desktop

News photo

Google builds Gemini right into Android, adding contextual awareness within apps

News photo

Google is building its Gemini Nano AI model into Chrome on the desktop