Hi,
Final builder (version 8.0.0.2228) compiles my project using english VCL (messageDlg with “yes” and “no” button)
LANGDIR=FR is defined in delphi environment
I have add system environment variable LANGDIR=FR
i have used BDSSetLang.exe and choose French language
Project version info use french language
Delphi compile correctly my project using french VCL (Delphi Tokyo 10.2)
The problem seem to be old, Final Builder doesn’t use current delphi selected language
What is the solution ?
Pascal.
Hi Pascal Quelen,
FinalBuilder virtualises the LANGDIR variable, as it can be different for each version of Delphi. The environment variable would not be used.
Can you check if you have the following registry key for the user that FinalBuilder is running under
HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0\MUI
There should be a string value with the name “Translated Library Directory” and value FR
That is what FinalBuilder reads to determine the language to use. This registry key is written to by the BDSSetLang.exe
Note if you run BDSSetLang.exe to change the settings, you need to restart FinalBuilder to pick up the change. You may need to run BDSSetLang.exe as Administrator as it is updating the registry.
I have tested this with Berlin, Seattle, Tokyo and it’s working as expected
Hi Jason,
I have launched BDSSetLang as administrateur.
I have no such registry key and value (no key MUI)
I have several values named “Translated Library Directory” in registry
HKCU/Software/Embarcadero/BDS/19.0/Library/Win32
HKLM/Software/Wow6432Node/Embarcadero/BDS/19.0/Library/Win32
and for each target (Android23, iOSDevice32, iOSDevice64, iOSEmulator and Win64)
These entries contains all same value : $(BDSLIB)/$(Patform)/release/$(LANGDIR)
i have searched in registry i have no value “FR” in any key in all registry
Delphi environment value of LANGDIR is FR and compilation is fine with french vcl
The only solution i have found is to set by hand the value MUI in “HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\19.0\MUI” and then finalBuilder use correctly french vcl. It works now.
It is impossible to discover for user, it would be fine to have something in doc about that and the workarround if it does not works.
Thank’s
Pascal