Jump to content











Photo
- - - - -

[App Script] Russian Language support


  • Please log in to reply
34 replies to this topic

#1 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 23 December 2008 - 07:43 PM

Hi there,

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/).
:cheers:

#2 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 23 December 2008 - 11:18 PM

Thank you funtik

by help from you we have Cyrillic support

#3 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 24 December 2008 - 12:29 AM

Thanks for the script and welcome to boot land!

:cheers:

#4 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 24 December 2008 - 06:25 AM

Lancelot,
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 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

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. :cheers:

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 24 December 2008 - 09:56 AM

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.

Hi funtik!

Good work for the first trial :cheers:

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 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 24 December 2008 - 06:52 PM

Lancelot, psc,
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 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 24 December 2008 - 07:57 PM

funtik,

if you look log i send before carelfully, you will see i used X13-05665 which is 2k3sp2trialEnglish

#9 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 27 December 2008 - 08:02 AM

Hi Lancelot and psc,

It seems I fixed the bug. Try my updated script. I am waiting for your comments.

:cheers:

#10 Lancelot

Lancelot

    Frequent Member

  • .script developer
  • 5013 posts
  • Location:Turkiye/Izmir
  • Interests:*Mechanical stuff and Physics,
    *LiveXP, BartPE, SherpyaXPE,
    *Basketball and Looong Walking,
    *Buying outwear for my girlf (Reason: Girls are stupid about buying bad stuff to make themselves uglier :))
    *Girls (Lyric: Girl,...., You will be a womann, Soon)
    *Answering questions for "Meaning of life",
    *Helping people,

    Kung with LiveXP, Fu with Peter :)
  •  
    Turkey

Posted 27 December 2008 - 12:40 PM

Thank you a lot funtik

Now works without problem :cheers: , I tested with both source 2k3sp2 and xpsp2, no problem noticed. Than you a lot for Cyrillic support.

#11 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

Posted 08 January 2009 - 09:22 PM

At script use there are problems with Cyrillics display.
My version:

Attached File  RusPath.7z   45.67KB   396 downloads

Regards,
Nikzzzz.

#12 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 January 2009 - 09:31 PM

At script use there are problems with Cyrillics display.
My version:

Attached File  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 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

Posted 08 January 2009 - 09:51 PM

Try to make the interface language specific.


Sorry.

Eng interface.

Attached File  RusPath.script   79.26KB   536 downloads

Regards,
Nikzzzz.

#14 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 08 January 2009 - 10:01 PM

You misunderstood me.

Currently there is the section
&#91;Interface&#93;

pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,false

pRadioButton2=Alt+Shift,1,11,30,60,100,20,true

pTextLabel1=&#34;Switch&#58;&#34;,1,1,30,20,200,20,8,Normal

pTextLabel2=&#34;Default&#34;,1,1,246,22,150,20,8,Normal

pScrollBox1=Eng,1,4,243,49,166,21,Eng,Rus

pCheckBox1=&#34;  Indicator&#34;,1,3,30,89,154,18,False

pBevel1=pBevel1,1,12,19,15,403,101

pCheckBox2=&#34; AmlMaple&#34;,1,3,244,89,156,18,True

pTextBox1=&#34; Boot Text&#34;,1,0,28,148,386,21,&#34;   Loading  &#34;

pCheckBox3=&#34; Date&#34;,1,3,29,174,200,18,True

pBevel2=pBevel2,1,12,21,125,402,74

You can add the section
&#91;Interface-Russian&#93;

pRadioButton1=Ctrl+Shift,1,11,30,40,100,20,false

pRadioButton2=Alt+Shift,1,11,30,60,100,20,true

pTextLabel1=&#34;???&#34;,1,1,30,20,200,20,8,Normal

pTextLabel2=&#34;???&#34;,1,1,246,22,150,20,8,Normal

pScrollBox1=Eng,1,4,243,49,166,21,Eng,Rus

pCheckBox1=&#34;???&#34;,1,3,30,89,154,18,False

pBevel1=pBevel1,1,12,19,15,403,101

pCheckBox2=&#34;???&#34;,1,3,244,89,156,18,True

pTextBox1=&#34;???&#34;,1,0,28,148,386,21,&#34;???&#34;

pCheckBox3=&#34;???&#34;,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 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

Posted 08 January 2009 - 10:37 PM

You misunderstood me.

I have simply translated interface that there were no problems with Russian.
Concerning multilanguage interface - thanks for the help.
Regards,
Nikzzzz.

#16 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 12 January 2009 - 04:54 AM

Hi Nikzzzz,

Should your script replace 'Finish\1 Optimizations\RussianSupport.script' currently on the LiveXP server?

Thanks,
Galapo.

#17 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

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 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 12 January 2009 - 05:22 AM

Thanks, good to know.

Once done, your script will replace RussianSupport.script then.

Regards,
Galapo.

#19 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

Posted 12 January 2009 - 11:52 AM

RussianSupport.script
Tested for Russian and English Windows
Attached File  RussianSupport.7z   46.45KB   370 downloads
Regards,
Nikzzzz.

#20 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 13 January 2009 - 12:29 AM

Thanks Nikzzzz!

Regards,
Galapo.

#21 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

Posted 13 January 2009 - 05:21 AM

Small error:
IniWrite,&#34;%TargetDir%\I386\txtsetup.sif&#34;,&#34;SourceDisksFiles&#34;,&#34;c_20866.nls&#34;,&#34;1,,,,,,,22,0,0,,1,2&#34;

IniWrite,&#34;%TargetDir%\I386\txtsetup.sif&#34;,&#34;SourceDisksFiles&#34;,&#34;C_28595.NLS&#34;,&#34;1,,,,,,,22,0,0,,1,2&#34;

//

&#91;BootText&#93;

StrFormat,DATE,%xx%,&#34;dd-mm-yyyy&#34;

Set,%xx%,&#34; &#40;%xx%&#41;&#34;

If,%pCheckBox3%,Equal,False,Set,%xx%,&#34;&#34;

IniWrite,&#34;%target_win%\txtsetup.sif&#34;,&#34;SetupData&#34;,&#34;loaderprompt&#34;,&#34;#$q%pTextBox1%%xx%#$q&#34;

Run,%ScriptLog%,Process-log
Replace
IniWrite,&#34;%TargetDir%\I386\txtsetup.sif&#34;,&#34;SourceDisksFiles&#34;,&#34;c_20866.nls&#34;,&#34;1,,,,,,,22,0,0,,1,2&#34;

IniWrite,&#34;%TargetDir%\I386\txtsetup.sif&#34;,&#34;SourceDisksFiles&#34;,&#34;C_28595.NLS&#34;,&#34;1,,,,,,,22,0,0,,1,2&#34;

Run,%ScriptLog%,Process-log

//

&#91;BootText&#93;

StrFormat,DATE,%xx%,&#34;dd-mm-yyyy&#34;

Set,%xx%,&#34; &#40;%xx%&#41;&#34;

If,%pCheckBox3%,Equal,False,Set,%xx%,&#34;&#34;

IniWrite,&#34;%target_win%\txtsetup.sif&#34;,&#34;SetupData&#34;,&#34;loaderprompt&#34;,&#34;#$q%pTextBox1%%xx%#$q&#34;

Regards,
Nikzzzz.

#22 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 13 January 2009 - 05:44 AM

OK, done.

Regards,
Galapo.

#23 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

Posted 14 January 2009 - 05:24 PM

RussianSupport.script
Tested for Russian and English Windows

Regards,
Nikzzzz.

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.

#24 nikzzzz

nikzzzz

    Frequent Member

  • .script developer
  • 263 posts

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 funtik

funtik

    Member

  • Members
  • 75 posts
  •  
    United States

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