# Project compiled with Delphi 2010 don't uses the VCL in French

**URL:** https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388
**Category:** Discussion
**Created:** [November 27, 2009, 8:58am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388 "2009-11-27T08:58:37Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [November 27, 2009, 8:58am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/1 "2009-11-27T08:58:37Z")

</div>

Hi,

It seems like Finalbuilder compiles my project using the VCL in english instead of the VCL in french : message boxes shows "Yes" "No" buttons instead of "Oui" "Non".

Any ideas ?

-- Pierre

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [November 27, 2009, 9:39am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/2 "2009-11-27T09:39:48Z")

</div>

Did you set the Language on the Delphi Action’s Version Info Page?

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 2, 2009, 2:31am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/3 "2009-12-02T02:31:13Z")

</div>

Vincent,

Yes, In thet Compiles/Borland Delphi/General Options/Default Language I defined :

Default Locale ID : Français (France) $040C

Default CodePage : 1252 Windows 3.1 Latin 1 (US, Western Europe)

My applications are still compiled with messages boxes in english.

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 2, 2009, 3:44am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/4 "2009-12-02T03:44:13Z")

</div>

Note that I have defined a "Project Variable" LC\_MESSAGES [en\_US] in order to make subversion parsing of output messages tp work.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 2, 2009, 10:31am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/5 "2009-12-02T10:31:49Z")

</div>

If you build using delphi, then take a copy of the project.res file, and then build using FB, and take a copy of the project .res file, send us both files so we can take a look and see what finalbuilder is doing differently. Send them to support at finalbuilder dot com

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 3, 2009, 9:20am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/6 "2009-12-03T09:20:18Z")

</div>

Done. Both files have been sent to support email.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 4, 2009, 4:18am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/7 "2009-12-04T04:18:20Z")

</div>

Hi Pierre   
  
 Thanks, got those, however they were identical when I looked at them with a resource tool. I’m not sure what else controls the language that the applications uses for message boxes etc, I always thought it was the locale settings. I will have a look and see if there is anything else we can set. One thing you could do to create a simple new project in delphi, one that shows a message box or at least does something to show the problem, and then build it using finalbuilder and see if that has the same issue. I am wondering if the problem application is linking in another resource file somewhere that is changing the locale?

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 7, 2009, 3:19am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/8 "2009-12-07T03:19:25Z")

</div>

I reproduced the problem with a very simple Delphi Application : a TButton on the main TForm runs this code :   
  
MessageDlg('Est-ce que cette boîte de dialogue s''est ouverte en français ?', mtWarning, [mbYes, mbNo], 0);   
  
Compiled with Delphi 2010, the MessageBox shows buttons in French (Oui/Non), compiled with a FinalBuilder Project based on the one I created for mu application, the compiled Exe shows buttons in english (Yes/No)   
  
I ~~can~~  ~~send~~ have sent you the FinalBuilder Project File and the sample application to the FinalBuilder support email.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 7, 2009, 11:49am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/9 "2009-12-07T11:49:04Z")

</div>

Can you send the compiled versions? I looked at the source but that didn’t help, couldn’t find anything to suggest why this happens.   
  
 Did you have an english version of D2010 installed at any time? The only explanation I have for this is FinalBuilder is possibly using a different library path. The strings for the messagebox buttons is in consts.pas, so for the language to change, there must be a different version of that file being pulled into the exe when compiled using FB and dcc32. FinalBuilder gets the library path from the registry. Try overriding the library path and setting it to the bare minimum to compile.

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 8, 2009, 9:06am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/10 "2009-12-08T09:06:50Z")

</div>

I have installed Delphi 2010 with VCL in French and English (not Japanase) this is a new feature from D2010.

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 8, 2009, 9:13am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/11 "2009-12-08T09:13:31Z")

</div>

Considering there are these registry values in HKEY\_LOCAL\_MACHINE\SOFTWARE\CodeGear\BDS\7.0\Library :

Translated Debug Library Path : $(BDS)\lib\$(LANGDIR)\Debug  
Translated Library Path : $(BDS)\lib\$(LANGDIR)  
Translated Resource Path : $(BDS)\lib\$(LANGDIR)

Maybe I have to define a variables LANGDIR with value "FR" and expose it as an environment variable ?

&nbsp;

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 8, 2009, 9:32am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/12 "2009-12-08T09:32:11Z")

</div>

Tested: That don't work.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 8, 2009, 10:26am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/13 "2009-12-08T10:26:04Z")

</div>

Hi Pierre   
  
 Looks like this is a new thing for Delphi 2010, I have those settings in my registry as well. The LANGDIR variable is blank on mine, I’m guessing on yours it is set to FR ?   
  
 What we will need to do is add support for that, I will change the action to look for the LANGDIR and if has a value then we will use the value from the Translated Library Path. Can you tell me which files are in the “RAD Studio\7.0\lib\FR” folder? Is the entire lib contents there or just some files (like consts.dcu)?   
  
 Now we know where to look we should be able to resolve this, hopefully we will have a build with the change available tomorrow.

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 8, 2009, 12:19pm UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/14 "2009-12-08T12:19:02Z")

</div>

C:\Program Files\Embarcadero\RAD Studio\7.0\lib\>dir fr  
&nbsp;Le volume dans le lecteur C n'a pas de nom.  
&nbsp;Le numéro de série du volume est 3CF6-2ED8  
  
&nbsp;Répertoire de C:\Program Files\Embarcadero\RAD Studio\7.0\lib\fr  
  
24/09/2009&nbsp; 09:07&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .  
24/09/2009&nbsp; 09:07&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ..  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 134&nbsp;122 ActnRes.dfm  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 56&nbsp;542 AdaptReq.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10&nbsp;199 AdoConEd.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;914 ADOConst.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 9&nbsp;851 bdeconst.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;952 BrkrConst.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;602 ComConst.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5&nbsp;150 ComStrs.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 40&nbsp;081 Consts.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 503 CtlConsts.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11&nbsp;742 CustomizeDlg.dfm  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;043 DBClientActnRes.dfm  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 14&nbsp;439 DBConsts.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 6&nbsp;921 DBDrvEd.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15&nbsp;024 DbgSiteAS.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2&nbsp;194 DbLogDlg.dfm  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;678 DBPWDlg.dfm  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;591 DBXClientResStrs.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16&nbsp;660 DBXCommonResStrs.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 54&nbsp;063 DBXCommonTable.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 29&nbsp;447 DBXDataStoreMetaDataReader.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 34&nbsp;211 DBXMessageHandlerCommon.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 27&nbsp;675 DBXMessageHandlerJSonClient.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20&nbsp;623 DBXMessageHandlerJSonCommon.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 31&nbsp;995 DBXMessageHandlerJSonServer.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 153&nbsp;291 DBXMetaDataReader.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 82&nbsp;287 DBXMetaDataWriter.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 55&nbsp;450 DBXPlatform.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 137&nbsp;566 DBXStream.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 472 DBXTestResStrs.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 33&nbsp;639 DBXTransport.dcu  
01/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 13&nbsp;801 DBXTransportFilter.dcu  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 45&nbsp;568 dcl31w.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 67&nbsp;072 dclado.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 409&nbsp;088 dclbde.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 257&nbsp;024 dcldb.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 67&nbsp;584 dclmid.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 464&nbsp;384 dclnet.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 454&nbsp;144 dclstd.lib  
19/08/2009&nbsp; 22:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 606 dclusr.dpk  
24/09/2009&nbsp; 09:07&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; debug  
...

Note that I've tried to create a pseudo environment variable en finalbuilder and set it to "FR" anf that don't work (or I missed something ?)

Also note that I've no LANGDIR environment variable defined System Wide.

But when I launch the "RAD&nbsp;Studio Command&nbsp;Line" and type C:^\>set L, I can see that LANGDIR is set to FR.

Hope this helps.

Why does that don't work when I define a LANGDIR variable in my FinalBuilder projet and check the box "Make available as an environment variable" ?

-- Pierre

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 8, 2009, 12:21pm UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/15 "2009-12-08T12:21:11Z")

</div>

Oh, in Delphi 2010 IDE, when I go to options/Environment Options/Environment Variables, in the top list "System Variables", I can see that LANGDIR is defined to FR.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 8, 2009, 8:09am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/16 "2009-12-08T08:09:27Z")

</div>

The problem is we are not reading in the registry value for the “Translated Library Path”, we had no idea it existed, it’s new in D2010 and not documented anywhere that I could find. I’ll fix that today.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 9, 2009, 6:33am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/17 "2009-12-09T06:33:14Z")

</div>

Ok, here we go :   
  
 [https://www.finalbuilder.com/downloads/finalbuilder/630/FB630\_1847.exe](https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1847.exe)   
  
 This build does the following. If the VCL/RTL Language setting in the registry (MUI) is set to anything other than empty when FB starts up, it will define a variable called LANGDIR with the value as specified in the registry. When the .cfg file is generated for the command line compiler, the LANGDIR variable is checked, if it’s value is non blank then the Translated Library Path is read from the registry and pre-pended to the library path.   
  
 I re-installed D2010 today, and installed all the languages, and test with your test application and it worked fine in all languages supported. The advantage of using the technique described above is that a simple variable override is enough to change the language… if your D2010 install is set to FR, and you want to compile for DE, just add a project variable called LANGDIR, set it to DE.   
  
 HTH

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 9, 2009, 1:25am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/18 "2009-12-09T01:25:04Z")

</div>

Just tested your Build 1037. It works only if I define a variable exposed as an environment variable called LANGDIR with the value FR. If I delete this variable and I rebuild the project the MessageBox is in english.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [December 9, 2009, 9:22am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/19 "2009-12-09T09:22:39Z")

</div>

Have a look under System Variables in FinalBuilder, is there a LANGDIR variable there? If it is, what is the value? If not, can you have a look in your registry, do you have a key HKEY\_CURRENT\_USER\Software\CodeGear\BDS\7.0\MUI with a value for “Translated Library Directory” ? That was the only place I could detect where the language is set. I tested this using the BDSSetLang.exe tool in the “RAD Studio\7.0\bin” folder, by setting the Library Language.

---

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [December 14, 2009, 9:53am UTC](https://www.finalbuilder.com/forums/t/project-compiled-with-delphi-2010-dont-uses-the-vcl-in-french/1388/20 "2009-12-14T09:53:27Z")

</div>

Vincent,

I checked in my registry and I have no key "MUI" at all in : HKEY\_CURRENT\_USER\Software\CodeGear\BDS\7.0. I think this key is created by BDSetLang.exe, but I never used BDSetLang since I installed RAD&nbsp;Studio in French with, as an options, the english version of the VCL.

I found that key : HKEY\_LOCAL\_MACHINE\SOFTWARE\CodeGear\Locales where there are several path for Embarcadero executables like : C:\Program Files\Embarcadero\RAD Studio\7.0\Bin\bds.exe and the value is 'FR', this key is also in HKEY\_CURRENT\_USER\Software\CodeGear\Locales

Regards,

-- Pierre
