Record TLanguageRecord

Hierarchy
Methods
Properties

Unit

Declaration

type TLanguageRecord = record

Description

 

Overview

Fields

Public Table: PTransTable;
Public Name: string;
Public Syntax: string;
Public CharSet: string;
Public AspellLanguage: string;

Description

Fields

Public Table: PTransTable;
 
Public Name: string;
 
Public Syntax: string;
 
Public CharSet: string;
 
Public AspellLanguage: string;

Name of this language as used by Aspell, see http://aspell.net/man-html/Supported.html .

Set this to empty string if it's the same as our Syntax up to a dot. So a Syntax = 'pl' or Syntax = 'pl.iso-8859-2' already indicates AspellLanguage = 'pl'.

TODO: In the future, it would be nice if all language names used by PasDoc and Aspell matched. Aspell language naming follows the standard http://en.wikipedia.org/wiki/ISO_639-1 as far as I see, and we should probably follow it too (currently, we deviate for some languages).

So in the future, we'll probably replace Syntax and AspellLanguage by LanguageCode and CharsetCode. LanguageCode = code (suitable for both PasDoc and Aspell command-line; the thing currently up to a dot in Syntax), CharsetCode = the short representation of CharSet (the thing currently after a dot in Syntax).


Generated by PasDoc 0.15.0.