Performs string translations using the language selected for the project.

defaulttranslator.pas performs string translations using the default I18n and L10n translation facilities in the Lazarus IDE and LCL. This unit does not contain any code other than the initialization section in the unit. It calls the SetDefaultLang routine to specify that the default language identifier for the project is used.

To enable automatic string translation, use this unit in your application and check the Enable i18n option in the Project > Project Options > i18n screen. If you want translation to be performed using a specific language identifier, use the LCLTranslator unit instead.

For more information, see the Lazarus Wiki article: Creating Multi-Language Applications