Skip to main content

TcxLocalizer.FileName Property

Specifies the resource strings file’s location.

Declaration

property FileName: TFileName read; write;

Property Value

Type
TFileName

Remarks

The resource strings file is an INI file created using the Localizer Editor tool. The file’s content is separated into sections by languages. Each section is started with the language identifier represented as a decimal value in square brackets. In the section, each line contains a pair of a resource string identifier and the corresponding value delimited by the equals sign.

If the file’s content has been modified at runtime, invoke the LoadFromFile method to update the component’s cache.

Use this property to supply a different file with translations. If resource strings for the current language haven’t been specified, default values will be used instead.

See Also