Lng files for content plugins
Translation of content plugins is quite easy: Just create a text file with the same name as the content plugin, but with extension lng. Example: contentplug.wdx -> contentplug.lng.
These translations will be shown to the end user in all Total Commander dialogs, but the English strings will be stored in wincmd.ini (e.g. for saved searches, custom columns or in the multi-rename tool). Therefore it's very important to use English for the main content plugin!
This lng file contains a separate section for each language, with the same name as the language part of the main Total Commander translation files. Example wcmd_deu.lng -> section [deu] for German (called "Deutsch" in German).
In these sections, each string is translated like this:
original=translated
Example:
[deu]
kbytes=kbytes
name=Name
size=Grösse
creationdate=Erstelldatum
creationtime=Erstellzeit
writedate=Aenderungsdatum
writetime=Aenderungszeit
accessdate=Zugriffsdatum
accesstime=Zugriffszeit
attributes=Attribute
archive=Archiv
read only=Nur lesen
hidden=versteckt
system=System
compressed=komprimiert
encrypted=verschlüsselt
sparse=mager
versionstring=Versionsstring
versionnr=Versionsnr
file type=Dateityp
file=Datei
folder=Ordner
reparse point=symbolischer Link
[fra]
name=Nom
size=Taille
creationdate=date de création
creationtime=temps de création
writedate=date d'écriture
writetime=temps d'écriture
accessdate=date d'accès
accesstime=temps d'accès
attributes=attributs
archive=archive
read only=lecture seule
hidden=caché
system=système
compressed=compressé
encrypted=crypté
sparse=maigre
versionstring=version(texte)
versionnr=N° version
file type=type fichier