In Delphi there is an option VersionInfo->Language->Locale ID when viewing project properties.
I was wandering how to set such property for a program being compiled under Free Pascal.
Any solution is welcome: command line argument or preprocessor directive such as {$key value}; equivalent to Delphi.
In Delphi there is an option VersionInfo->Language->Locale ID when viewing project properties. I was
Share
If you can build your projects using
*.lpifiles then I would try to add the following into your project’sProject.lpifile. In the following snippet is shown how to set the project’s locale ID (for Windows platform) to 0405 (Czech).Or if you are using Lazarus IDE then you might use to Delphi very similar settings tab which you can open from
Project / Project Options ...and as in Delphi go toVersion Infowhere is theLanguage selectioncombo box available if you include the version info into the project.