|
Then you need to translate Lng\Setup.s file. This file is
the same for 32 bit and 64 bit WinRAR. This is a plain text file,
so you may use any text editor. It must be saved as Windows or Unicode text.
Please translate only parameters of Text and Title command and nothing more.
Its Text command contains HTML text. If you do not know HTML, there is
a simple rule: just ignore all text between '<' and '>' characters and
translate the rest. For example, in the text:
Text
{
<b><i><font face="Terminal">WinRAR</font></i> is a powerful archiver</b>.
It provides complete support of <b><font color="#0000a0" face="Arial">RAR</font></b> and
}
you need to translate:
"WinRAR", "is a powerful archiver", "It provides complete support of",
"RAR", "and"
and keep the rest of text untouched.
If you translate to language having right to left reading order,
add dir="rtl" to <body> tag of setup.s: <body dir="rtl" bgcolor="#efefef">
When you finished, put Setup.SFX (Setup64.SFX for 64 bit version)
and setup.s to some other folder, not the same as other files.
For example, let's suppose that the folder with all prepared files
is "C:\RAR" and the folder with Setup.SFX and setup.s is "C:\Setup",
your WinRAR is installed to "c:\program files\winrar" and you wish
to name the new distributive as winrar-x32-380ln.exe.
In such case you need to open MS-DOS Prompt and run:
"c:\program files\winrar\rar" a -r -ep1 -cfg- -s -m5 -zc:\setup\setup.s -sfxc:\setup\Setup.SFX c:\setup\winrar-x32-380ln c:\rar\*.*
This command should create the distributive in "c:\setup" folder.
For 64 bit version this command will look like:
"c:\program files\winrar\rar" a -r -ep1 -cfg- -s -m5 -zc:\setup\setup.s -sfxc:\setup\Setup64.SFX c:\setup\winrar-x64-380ln c:\rar\*.*
If you have other file or folder names, please edit the command line
correspondingly. |
|