[App Script] Russian Language support
#1
Posted 23 December 2008 - 07:43 PM
I developed this script to add Cyrillic support to the LiveXP project. I tested it successfully with WinBuilder [075 beta 5 A] using Eng_Win XP_SP2 and Eng_Windows Server 2003_R2_SP2 as a source. No bugs were noted. Cyrillic characters were displayed correctly in MS-DOS Command Prompt Window, Notepad, WordPad and Programs with Russian interface. If you find any bugs or issues, please report them.
Now, RussianSupport.script is in LiveXP project (LiveXP/Finish/1 Optimizations/).
#2
Posted 23 December 2008 - 11:18 PM
by help from you we have Cyrillic support
#3
Posted 24 December 2008 - 12:29 AM
#4
Posted 24 December 2008 - 06:25 AM
I think other language or locale related scripts mess with my script in your case. My script completely rebuilt the language structure of the project into the English - Cyrillic Language Group 5 (Bulgarian, Russian, Serbian Cyrillic, Ukrainian, Belarusian, FYRO Macedonian, Kazakh, Uzbek, Azeri, Tatar, Kyrgyz, Mongolian, Serbian-Bosnian, Bosnian-Bosnian). Using other languages (which are not from Language Group 5) may cause errors. You can try the following:
1. Disable any other language or locale related scripts;
2. Place my script at the very end, right before creating an image (I placed in …\Apps\Z_MYSCRIPTS\, to make sure it overwrites any other scripts;
3. Manually modify the INF file and add “vga866.fon” entry to the [SourceDisksFiles] section.
Let me know if get a success. I will try to figure out the possible reason too.
#5
Posted 24 December 2008 - 06:44 AM
1. Disable any other language or locale related scripts;
2. Place my script at the very end, right before creating an image (I placed in …\Apps\Z_MYSCRIPTS\, to make sure it overwrites any other scripts;
at least i quickly tried these 2, but result is the same, here is log file,
http://lancelot.winb...1224_083518.rar
here is script
http://lancelot.winb...sianSupport.rar
I would like to add Cyrillic Language Group as you indicated the wide usage. I will look more closely to the script in following days.
#6
Posted 24 December 2008 - 09:56 AM
Hi funtik!Hi there,
I developed this script to add Cyrillic support into the LiveXP project. I tested it successfully with WinBuilder [075 beta 5 A] using Eng_Win XP_SP2 and Eng_Windows Server 2003_R2_SP2 as a source. No bugs were noted. Cyrillic characters were displayed correctly in MS-DOS Command Prompt Window, Notepad, WordPad and Programs with Russian interface. If you find any bugs or issues, please report them.
Good work for the first trial
But I have to give you a small disappointment:
The script will only work when you build the PE from an English source CD. E.g. you hardcoded toggle keyboard between Russian (419, that's wanted and ok) and 409 (English).
That is the reason that Lancelot (41F, Turkish) and me (407, German) have some troubles.
For non-English languages you have to take care that essentials like NLS and FON are defined in txtsetup.sif
Peter
#7
Posted 24 December 2008 - 06:52 PM
I thought you get errors using English source CDs. This script is compatible with English source CDs only.
I think it would be really hard to develop a universal script to support multiple languages for different language source CDs.
We can develop together a universal script to support multiple languages for English source CDs (WinXP_SP2 or 2K3_SP2).
#8
Posted 24 December 2008 - 07:57 PM
if you look log i send before carelfully, you will see i used X13-05665 which is 2k3sp2trialEnglish
#9
Posted 27 December 2008 - 08:02 AM
It seems I fixed the bug. Try my updated script. I am waiting for your comments.
#10
Posted 27 December 2008 - 12:40 PM
Now works without problem , I tested with both source 2k3sp2 and xpsp2, no problem noticed. Than you a lot for Cyrillic support.
#11
Posted 08 January 2009 - 09:22 PM
My version:
RusPath.7z 45.67KB 396 downloads
Regards,
Nikzzzz.
#12
Posted 08 January 2009 - 09:31 PM
At script use there are problems with Cyrillics display.
My version:
RusPath.7z 45.67KB 396 downloads
Regards,
Nikzzzz.
May I make a suggestion:
Try to make the interface language specific.
('Language' is what you can choose using the tools button)
This already works with sections [Interface-<language>]
If in other sections, e.g. in [Main]Description WB changes are necessary, tell me, and I'll try what I can do ...
Peter
#13
Posted 08 January 2009 - 09:51 PM
Try to make the interface language specific.
Sorry.
Eng interface.
RusPath.script 79.26KB 536 downloads
Regards,
Nikzzzz.
#14
Posted 08 January 2009 - 10:01 PM
Currently there is the section
[Interface] pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,false pRadioButton2=Alt+Shift,1,11,30,60,100,20,true pTextLabel1="Switch:",1,1,30,20,200,20,8,Normal pTextLabel2="Default",1,1,246,22,150,20,8,Normal pScrollBox1=Eng,1,4,243,49,166,21,Eng,Rus pCheckBox1=" Indicator",1,3,30,89,154,18,False pBevel1=pBevel1,1,12,19,15,403,101 pCheckBox2=" AmlMaple",1,3,244,89,156,18,True pTextBox1=" Boot Text",1,0,28,148,386,21," Loading " pCheckBox3=" Date",1,3,29,174,200,18,True pBevel2=pBevel2,1,12,21,125,402,74
You can add the section
[Interface-Russian] pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,false pRadioButton2=Alt+Shift,1,11,30,60,100,20,true pTextLabel1="???",1,1,30,20,200,20,8,Normal pTextLabel2="???",1,1,246,22,150,20,8,Normal pScrollBox1=Eng,1,4,243,49,166,21,Eng,Rus pCheckBox1="???",1,3,30,89,154,18,False pBevel1=pBevel1,1,12,19,15,403,101 pCheckBox2="???",1,3,244,89,156,18,True pTextBox1="???",1,0,28,148,386,21,"???" pCheckBox3="???",1,3,29,174,200,18,True pBevel2=pBevel2,1,12,21,125,402,74
Here you can replace all the ??? by Cyrillic words.
When the language is changed to Russian, they will appear.
Currently there is one problem: We do not have Russian language defined right now.
Therefore for test you can e.g. use German, and [Interface-German].
In the Interface then everything should appear in Cyrillic, the other Winbuilder unfortunatelly in German.
Bat in this way you can check whether and how it works.
Peter
#15
Posted 08 January 2009 - 10:37 PM
I have simply translated interface that there were no problems with Russian.You misunderstood me.
Concerning multilanguage interface - thanks for the help.
Regards,
Nikzzzz.
#16
Posted 12 January 2009 - 04:54 AM
Should your script replace 'Finish\1 Optimizations\RussianSupport.script' currently on the LiveXP server?
Thanks,
Galapo.
#17
Posted 12 January 2009 - 05:12 AM
Hi Nikzzzz,
Should your script replace 'Finish\1 Optimizations\RussianSupport.script' currently on the LiveXP server?
Thanks,
Galapo.
My script is not full, I will try to create soon a script having united a script Funtik RussianSupport.script and RusPath.script. While testing.
Regards,
Nikzzzz.
#18
Posted 12 January 2009 - 05:22 AM
Once done, your script will replace RussianSupport.script then.
Regards,
Galapo.
#19
Posted 12 January 2009 - 11:52 AM
Tested for Russian and English Windows
RussianSupport.7z 46.45KB 370 downloads
Regards,
Nikzzzz.
#20
Posted 13 January 2009 - 12:29 AM
Regards,
Galapo.
#21
Posted 13 January 2009 - 05:21 AM
IniWrite,"%TargetDir%\I386\txtsetup.sif","SourceDisksFiles","c_20866.nls","1,,,,,,,22,0,0,,1,2" IniWrite,"%TargetDir%\I386\txtsetup.sif","SourceDisksFiles","C_28595.NLS","1,,,,,,,22,0,0,,1,2" // [BootText] StrFormat,DATE,%xx%,"dd-mm-yyyy" Set,%xx%," (%xx%)" If,%pCheckBox3%,Equal,False,Set,%xx%,"" IniWrite,"%target_win%\txtsetup.sif","SetupData","loaderprompt","#$q%pTextBox1%%xx%#$q" Run,%ScriptLog%,Process-logReplace
IniWrite,"%TargetDir%\I386\txtsetup.sif","SourceDisksFiles","c_20866.nls","1,,,,,,,22,0,0,,1,2" IniWrite,"%TargetDir%\I386\txtsetup.sif","SourceDisksFiles","C_28595.NLS","1,,,,,,,22,0,0,,1,2" Run,%ScriptLog%,Process-log // [BootText] StrFormat,DATE,%xx%,"dd-mm-yyyy" Set,%xx%," (%xx%)" If,%pCheckBox3%,Equal,False,Set,%xx%,"" IniWrite,"%target_win%\txtsetup.sif","SetupData","loaderprompt","#$q%pTextBox1%%xx%#$q"
Regards,
Nikzzzz.
#22
Posted 13 January 2009 - 05:44 AM
Regards,
Galapo.
#23
Posted 14 January 2009 - 05:24 PM
Hi Nikzzzz,RussianSupport.script
Tested for Russian and English Windows
Regards,
Nikzzzz.
Thanks for your contribution to the script. I just tested your version using RUS_WinXP_SP2 as a source and I got an error message (see attached pic. ). Any ideas why?
I attached the log as well, it might help you.
#24
Posted 15 January 2009 - 12:29 PM
Hi Nikzzzz,
Thanks for your contribution to the script. I just tested your version using RUS_WinXP_SP2 as a source and I got an error message (see attached pic. ). Any ideas why?
I attached the log as well, it might help you.
Can attach ModelRam.exe?
Regards,
Nikzzzz.
#25
Posted 15 January 2009 - 03:15 PM
Can attach ModelRam.exe?
Regards,
Nikzzzz.
Attached.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users