Language files

Far Manager

Language files

The language file (a text file with the .LNG extension) is intended to store language resources used by the plugin to output messages in dialogs and menus.

Messages in language files must be enclosed in double quotes. You can use the double quote character inside messages as well.

All lines not beginning with a dot or a double quote are ignored. Leading spaces are ignored.

.Language=English,English
"Please register your copy"
"Registered"
"Yes"
"No"
:
//functional keys - 6 characters max
"Help"
"UserMn"
:
"Group"
"SelUp"
//End of functional keys

Remarks

  1. When using double quotes inside messages it is not obligatory to prepend them with a backslash. While processing each line of language file, FAR Manager checks only the opening and closing quotes. For example:
    "Option "Autodetect character table" is off."
    "Copy \"%.55s\" to"
    
    both lines are correct;
  2. a line may not be longer than 1000 characters;
  3. messages may not be split on mutiple lines;
  4. the following control charachters are allowed: '\n', '\r', '\\', '\b', '\t'
See also: