# Project compiled with Delphi Tokyo always use VCL in Englsih

**URL:** https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-tokyo-always-use-vcl-in-englsih/2561
**Category:** Discussion
**Created:** [August 9, 2017, 9:56am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-tokyo-always-use-vcl-in-englsih/2561 "2017-08-09T09:56:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![quelen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/q/3bc359/32.png) [@quelen](https://www.finalbuilder.com/forums/u/quelen)
#### Post date: [August 9, 2017, 9:56am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-tokyo-always-use-vcl-in-englsih/2561/1 "2017-08-09T09:56:17Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [August 9, 2017, 11:34am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-tokyo-always-use-vcl-in-englsih/2561/2 "2017-08-09T11:34:46Z")

</div>

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

---

<div class="post-metadata">

### Author: ![quelen](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/q/3bc359/32.png) [@quelen](https://www.finalbuilder.com/forums/u/quelen)
#### Post date: [August 10, 2017, 8:17am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-tokyo-always-use-vcl-in-englsih/2561/3 "2017-08-10T08:17:06Z")

</div>

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&nbsp; for user, it would be fine to have something in doc about that and the workarround if it does not works.  
Thank’s  
Pascal
