Delphi uses wrong resources

when i compile a delphi project with finalbuilder we compile the data.dbconsts.pas from the directory
Embarcadero\Studio\22.0\source\data. If I compile the project directly in Delphi, the file data.dbconsts.pas from the directory Embarcadero\Studio\22.0\source\data*de* is used.
Why is that? How can I change this?


This is likely because we add the Translated library path to the search path when compiling, and that is added to the start of the search path (to ensure the translations are used over the english ones).

This is controlled by what language you have your delphi install set as. That can be changed by running the Embarcadero\Studio\22.0\bin\BDSSetLang.exe tool - this allows you to change the Library Language - FinalBuilder reads this setting on startup to decide whether to use the translated library path.

Do you have the Embarcadero\Studio\22.0\source\data\data.dbconsts.pas file added to your project? If you add it directly to the project then it should use that rather than one from the library.