Soluling home   Document home

Delphi build options

Delphi build options

Use this sheet to specify Delphi build related options.

Output file type

Specifies what kind of output files are created. Possible options are:

Value Description
Multilingual resource file When building, Soluling creates one multilingual resource file (by default NtLangRes.ntres) that you then include in your project as a custom resource.
Language specific resource files
When building, Soluling creates one language resource file (.ntlang) for each language. Deploy them with your application and load one at the runtime.
Both
When building, Soluling creates both the above file types.

Multilingual resource file name

Specifies the name of the multilingual resource file without the extension. Soluling adds the .ntres extension. If you leave the field empty, Soluling uses the default name, and the file is NtLangRes.ntres. If you type the extension, Soluling removes it.

The field is enabled only when the output file type is Multilingual resource file or Both. The file is created into the output directory, so the name cannot contain a path or any of the following characters: \ / : * ? " < > |

Click Use project name to use the same name as your Delphi project.

Note! The name of the file does not change the name of the resource. At run time, your application looks for a resource named NtLangRes. If you use another file name, either give the file the resource identifier NtLangRes when you add it to your project, or tell the name to your application before it uses any translations, for example at the beginning of the project file:

NtResources.ResourceName := 'MyLang';

Otherwise your application does not find the resource and shows the original language.