Абориген
Регистрация: 28.11.2012
Сообщений: 4,474
Вы сказали Спасибо: 130
Поблагодарили 1,559 раз(а) в 538 сообщениях
Сказал(а) Фууу!: 0
Сказали Фууу! 4 раз(а) в 4 сообщениях
Откуда: Курчатов
Авто: Peugeot 308 1.6 HDi France
|
Changing DiagBox, Lexia and PP2000 Language (tested on v7.76 and v7.77), and this is how to do it:
Once again, This is for educational and experimental use, and I hold no responsibility for any improper usage or damage to your system..
For DiagBox:
1- Open the File Explorer and navigate to "C:\AWRoot\dtrd\trans\", find the file "Language.ini" and create a copy "Language.ini.org".
Open the file Language.ini and under [LANGUAGE], change "Current=en_GB" to "Current=fr_FR" and save (I commented the original and added the new line to change from English to French).
[LANGUAGE]
;Current=en_GB
Current=fr_FR
For Lexia:
2a- Navigate to "C:\APP\LEXIA\EXE\" find the file "langue.ini" and create a copy "langue.ini.org".
Open the file "langue.ini" and under [DicoMap], change all "%LG%" to FR (I commented the original 4 lines and added changed 4 lines to activate French language).
[DicoMap]
;CITACT=..\Dico\CITACT%LG%.dbz,APV
;CITTT=..\Dico\CITTT%LG%.dbz,APV
;CITTV=..\Dico\CITTV%LG%.dbz,APV
;THESAU=..\Dico\THESAU%LG%.dbz,APV
CITACT=..\Dico\CITACTFR.dbz,APV
CITTT=..\Dico\CITTTFR.dbz,APV
CITTV=..\Dico\CITTVFR.dbz,APV
THESAU=..\Dico\THESAUFR.dbz,APV
2b- Navigate to "C:\APPLIC\LCTLEX3\", find the file "Dico.txt" and create a copy named "Dico.txt.org".
Open the file "Dico.txt" and change the line "Dico=THELEXGB.DBZ" to "Dico=THELEXFR.DBZ" to change Lexia language to French.
;Dico=THELEXGB.DBZ
Dico=THELEXFR.DBZ
For PP2000:
3- If you wish to change PP2000, Navigate to "C:\APP\OutilRep\exe\", find the file "Dico.txt" and create a copy named "Dico.txt.org". Open the file "Dico.txt" and change the line "Dico=THESAUFR.DBZ" to "Dico=THESAUGB.DBZ" to change to English,
;Dico=THESAUFR.DBZ
Dico=THESAUGB.DBZ
The language change is achieved by replacing the "**" in "Dico=THESAU**.DBZ" with 2 letters representing the language you want, you can choose any of the 20 available languages.
Please notice that English=GB, French=FR and German=AL (French naming not unicode).
There are other incidents of "en_GB" that I changed to "fr_FR" in my installation. But I think the above is enough to get you working, you can find them in the INI and few java files....
Language table added
You can also use the attached Country Codes table to change the codes in your system, example for English:
Codes for DiagBox (DBX) go into C:\AWroot\.... in (2 Chrs.) statements such as "LauncherEN.DBZ" or (5 Chrs.) statements such as "Current=en_GB"
Codes for Lexia / PP200 go into C:\APP\... in statements such as "Dico=thesauGB.dbz" (in file Dico.txt)...
Please notice that you can have DiagBoX, Lexia and PP2000 eaxh working in a different language...
PP2000 Language fall back and font sizing
Also, for PP2000, the statement in C:\APP\OUTILREP\EXE\LANGUE.INI:
[BackUpDico]
BackUpThesau=\app\outilrep\Dico\thesauGB.dbz
will determine the language used in case you choose an unsupported language (or missing language files). In this case you may also add the statement Arial=10 (or any font size that you may prefer) like below.
[FontScale]
Arial=10
p.s. Simple trick, if you wish to play with the font size, change the statement in Dico.TXT "Dico=thesauGB.dbz" to "Dico=thesau.dbz", this will force the system to use the backup language of your choice with the Arial fonts you decided... I tried it for PP2000, and it works.
Lexia resizing and screen positioning
And since I am at it, you can also position and resize Lexia on the screen to your liking by navigation to:
C:\APP\LEXIA\EXE\ and finding the file: "ecran.ini".. open it using notepad and under:
[GENERAL]
position_X =0
position_Y =0
largeur_ecran = 1024
hauteur_ecran = 748
I think it is self explanatory, the X and Y affect positioning on the screen (from top left), and the ones I cant read are the Width and Height in pixels...; Try position_X =200 and position_Y=100, largeur_ecran = 800 and hauteur_ecran = 600.
Enjoy the Multilingual version of DiagBox 7.xx and feel free to share this information with reference..
Update: The issue with Language button in DiagBox v7.74+ is sorted (Photo below).
__________________
А Балда приговаривал с укоризной: «Не гонялся бы ты, поп, за дешевизной».
|