Translate Dualan
Dualan is in English, and anyone can add a language. It's one file of texts, no programming needed. Anything not translated yet simply stays English.
What gets translated
The Dualan window on the gaming PC, Dualan controls in OBS, the tray menu, notifications and the Dualan Source's settings in OBS. Dualan picks the language of Windows (in OBS: OBS's language) if there is a translation for it; Settings > Language chooses another.
How
- Download
lang/en.json. It lists every English text twice:"Open Dualan": "Open Dualan". - Save it as your language's code, for example
de.json,fr.jsonorpt-BR.json. - Translate the text on the right of each line, and leave the left side as it is:
"Open Dualan": "Dualan öffnen". Lines you skip stay English. - Send the file: as a pull request on GitHub (into the
langfolder), or attach it to a new issue on GitHub.
A few rules
- Keep everything in curly braces as it is: in
"{n} OBS receivers"the{n}becomes a number. Dualan checks this and won't use a translation that loses one. - Names stay as they are: Dualan, OBS, NVIDIA NVENC, HEVC, Stream Deck and so on.
- Short and plain is better than word for word. The window has little room, and the texts talk to the person using it ("you").
- Not sure about a term? Open the window in English next to your file, or ask in the issue.
Once more people help, Dualan will use a translation website where you can translate in the browser and see what others did. This page will link it.