Dear Bret,

> Am 03.03.2025 um 21:51 schrieb Bret Johnson via Freedos-devel 
> <freedos-devel@lists.sourceforge.net>:
> 
> BTW, one option I was considering is a single .LNG file (or something) with 
> all the translations inside a single file instead of needing a separate file 
> for each language.

This is how we do it in SvarLANG, the translation routines for Free FDISK and 
much of the SvarDOS stuff. The .LNG file contains all the translations. It is a 
binary format, basically consisting of a binary search table and the translated 
strings for every language, optionally compressed.

It is fairly minimal, and by itself it contains no output routines and such 
stuff at all. We consider this to be a "layer above".

Currently there is only a C implementation for the lib. But we want to do an 
assembly implementation in the foreseeable future. That should not be too hard, 
as like said above, the format is rather minimal.

We documented the file format at 
https://github.com/SvarDOS/core/blob/2c639bddbe07560603d611f56a409a98abe586a3/svarlang.lib/tags/20241010/svarlang.txt#L94

Bernd



_______________________________________________
Freedos-devel mailing list
Freedos-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to