• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
Kelsenellenelvian

WPI v8.6.0 Release Thread

39 posts in this topic

Umm thank you but please actually ADD the new lines:

And find the extra lines and translate all the rest (If you have the time)


lblOSvernumber[lang] = ['Operating System Version'];
lblThemeFile[lang] = ['Theme file'];
lblWindowsFile[lang] = ['Window Options file'];
lblOSBuild[lang] = ['OS Current Build'];

Here is a organized lang_es for you to work on if you kindly will...

These lines ALSO need removed:

lblMonitorColorDepth[lang] = ['Profundidad de color'];

lblMonitorRefreshRate[lang] = ['Frecuencia de actualización de Pantalla'];

lblMonitorResolution[lang] = ['Resolución de Pantalla'];

lblPNPDeviceID[lang] = ['ID de dispositivo PnP']; <-- There were 2 of these!

txtMonitorColorDepth[lang] = ['Utilizar \'Máxima\' Para mejores resultados.'];

txtMonitorRefreshRate[lang] = ['Utilizar \'Máxima\' Para mejores resultados.'];

txtMonitorResolution[lang] = ['Cambiar a la resolución elegida cuando se inicie el WPI.'];

Also this line is missing:

txtMustAddCommand[lang] = ['You must add a command entry through the \'Add\' button before being able to perform this operation.'];

*** While we are being picky ***

Edited by Kelsenellenelvian
0

Share this post


Link to post
Share on other sites

I am at work, I see calmly later... :yes:

I will try to review the entire file, there are many things untranslated...

Edited by alfreire
0

Share this post


Link to post
Share on other sites

Was a long text to be translated ... I hope that is correct... :whistle:

Attached lang_es.js

Regards... ;-)

lang_es.js

Edited by alfreire
0

Share this post


Link to post
Share on other sites

Could you please update the downloading web site with the new WPI_v8.6.0 ?

http://www.wpiw.net/

Thanks and Regards

0

Share this post


Link to post
Share on other sites

Many thanks.

I see that WPI_v8.6.0 is a stable release, even if with some localized version we can't have OSver, OSeditionID, OSlang, and OSlocale working, using Windows 7.

It seems the three letters code not working with French and other language.

I don't know if that can help:

Building a Localized Platform in Microsoft Windows CE Platform Builder 3.0

Locale Code Table

Platform Builder supports all locales that are marked with an ampersand (&). For historical reasons, all locale names marked with an asterisk (*) do not use the standard three-letter naming convention. Use the locale directory to set the COUNTRY environment variable for a localized build of the OS. The following table shows the worldwide locales.

Regards

*Edit: However with Windows XP, OSver is found !

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Solved = about OSver and OSeditionID works fine for me with french localized Windows 7 version changing inside wmi.js


function getOSver()
{
position="wmi.js";
whatfunc="getOSver()";

if (szOSVerCache==NOT_FOUND) // this function is called often - get it once and cache the result
{
try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);
enumItems=new Enumerator(colItems);
objItem=enumItems.item();

var Caption=objItem.Caption;

if (Caption.indexOf("8") != -1)
szOSVerCache="Win8";
if (Caption.indexOf("7") != -1)
szOSVerCache="Win7";
if (Caption.indexOf("2008") != -1)
szOSVerCache="08";
if (Caption.indexOf("Vista") != -1)
szOSVerCache="Vista";
if (Caption.indexOf("2003") != -1)
szOSVerCache="03";
if (Caption.indexOf("XP") != -1)
szOSVerCache="XP";
if (Caption.indexOf("2000") != -1)
szOSVerCache="2K";
}
catch(ex)
{
}
}

return szOSVerCache;
}

Adding also inside wmi.js


function getOSeditionID()
{
position="wmi.js";
whatfunc="getOSeditionID()";

var Caption, OSSKU;

if (szEditionIDCache==NOT_FOUND) // this function is called often - get it once and cache the result
{
try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "\\root\\CIMV2");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);
enumItems=new Enumerator(colItems);
objItem=enumItems.item();

Caption=objItem.Caption;
OSSKU=objItem.OperatingSystemSKU;
if (szOSVerCache=="Win8")
szEditionIDCache=getOSsku(OSSKU);

WPI_Log.txt


Fichier journal de l'installation WPI

Début de l'installation: vendredi 31 août 2012 10:40:05

Information WPI:
Version=8.6.0
Exécutable utilisé=true
Version d'Internet Explorer=9.0
Connexion Internet=true

Système d'exploitation
Système d'exploitation=Win7
ID Edition=Ultimate Edition
Version du Système d'exploitation=6.1
Version actuelle=7601
Service Pack=1

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Solved = About OSlang and OSlocale FRA (French)

I made some changes inside core.js, like this:

Replace at line 329:

var hD="0123456789ABCDEF";

With:

var hD="0123456789abcdef";

Even if my keyboard is CH (Switzerland 100c) the Windows 7 language is fr-FR and all values are shown inside information window!

I have also tried to change inside core.js this line and works fine:


// %OSLANG%
var Enum, DtoH;

CreateLocalArray();
try
{
objWMIService=GetObject("winmgmts:\\\\" + "." + "[url="file://\\root\\CIMV2"]\\root\\CIMV2[/url]");
colItems=objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly);

enumItems=new Enumerator(colItems);
for (; !enumItems.atEnd(); enumItems.moveNext())

objItem=enumItems.item();
OSLanguage=objItem.OSLanguage;

// OSLanguage=1033, 1036, ....

try
{
var Enum=objItem.OSLanguage;

}
catch(ex2)
{
Enum=1033;
}

DtoH=DecToHex(Enum);
while (DtoH.length<4)
DtoH="0" + DtoH+"";

for (var x=0; x<arrOSLang.length; x++)
{
if (arrOSLang[x].LCID==DtoH)
{
oslang=arrOSLang[x].TLA;
oslocale=arrOSLang[x].Locale;
break;
}
}

}
catch(ex)
{
oslang="ENU";
oslocale="English - United States";
}


// Environment variable for batch file
setEnvVar("HDD",hdd,false);
setEnvVar("CDDRV",cddrv,false);
setEnvVar("WPIPATH",wpipath,false);
setEnvVar("ROOT",root,false);
setEnvVar("OSLANG",oslang,false);
setEnvVar("OSLOCALE",oslocale,false);
}

WPI_Log.txt


Fichier journal de l'installation WPI

Début de l'installation: vendredi 31 août 2012 23:39:12

Information WPI:
Version=8.6.0
Exécutable utilisé=true
Version d'Internet Explorer=9.0
Connexion Internet=true

Système d'exploitation
Système d'exploitation=Win7
ID Edition=Ultimate Edition
Version du Système=6.1
Version actuelle=7601
Service Pack=1

Architecture
Nom de l'Architecture=GenuineIntel
Chaîne du Nom de l'Architecture=Intel(R) Pentium(R) 4 CPU 3.00GHz
ID Architecture=x86 Family 15 Model 4 Stepping 1
Nombre de Processeurs=2
MHz=3000
Type d'Architecture=x86
Bits Architecture=32

Fichier Configuration=C:\WPI_v8.6.0\UserFiles\config.js
Fichier Options=C:\WPI_v8.6.0\UserFiles\useroptions.js
Fichier Réseau=C:\WPI_v8.6.0\UserFiles\networkoptions.js
Fichier Thème=C:\WPI_v8.6.0\UserFiles\themeoptions.js
Fichier Options Fenêtre=C:\WPI_v8.6.0\UserFiles\windowoptions.js

// Window tab
Resolution=1024
MainWindowWidth=800
MainWindowHeight=600
MainWindowX=-1
MainWindowY=-1
InstallerWindowX=25
InstallerWindowY=25

// General tab
NumCols=1
// ---
Timer=true
Seconds=59
StartBeepAtSecs=10
// ---
Language='fr'
// ---
DefaultInstallPath='default'
CustomInstallPath=['']
// ---
AbortInstallIfFailure=false
ExecuteCommandIfFailure=['']
ContinueWhereFailed=false

// Features tab
ShowDownloadOutput=false
DisableInstallCombobox=false
ShowExtraButtons=true
DoNotShowIfCD=true
USSFSilentMode=false
VerifyInstallHDD=false
AllowCheckForInternet=false
LoadDesktopBeforeInstall=false
ReOpenAfterInstall=false
DisableCatCheckBoxes=false
SortWithinCats=false
DisableOnDepsNotMet=false
AlwaysUseScrollBar=false
DontSplitCats=false
InstallByCategory=false
ReallyForce=false
DisableIfDoGray=false
InstallFonts=true
ShowCommandInInstaller=false
ShowInstallerImages=true
AlwaysShowOutputWindow=false
EjectCDWhenDone=false
DoNotShowIfUSB=true
DisableHotKeys=false
MaintainAutoLogonCount=false

// Tools tab
MonitorResolution=0
MonitorDepth=0
MonitorRefresh=0
// ---
ExecuteBeforeEnabled=false
ExecuteBeforebit64=false
ExecuteBefore=['']
ExecuteAfterEnabled=false
ExecuteAfterbit64=false
ExecuteAfter=['']
// ---
RestartComputer=false
RestartType=0
RestartSeconds=30
DoNotLoadDesktop=true
// ---
LogInstallation=true
LogPath=['"%systemdrive%\WPI_Log.txt"'];
TimeStampLogFile=false

// Audio tab
PlayAudioInInstaller=true
InstallAudio=['Galaga.mp3,Kalimba.mp3,Galaga.mid,Zelda.mid']
Volume=75
Shuffle=true
CopyAudioFolder=true
CopyAudioPath=['C:\WPI_Audio']
DeleteAudioFolder=true

// Sounds tab
SndWPIStartCB=true
SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"'];
SndInstallStartCB=false
SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"'];
SndInstallSuccessCB=false
SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"'];
SndInstallFailCB=false
SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"'];
SndInstallFinishCB=false
SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];

// Style tab
Theme='Win7'
Skin='SkyBlue'
BgPicture='Wallpaper.jpg'
// ---
LayoutStyle=1
// ---
ShowToolTips=false

Variables Globales:
%OSLANG%=FRA
%WPIPATH%=C:\WPI_v8.6.0
%ROOT%=C:
%CDROM%=
%USB%=
%DOSPATH%=
%SYSTEMDRIVE%=C:
%WINDIR%=C:\Windows
%PROGRAMFILES%=C:\Program Files
%TEMP%=C:\Users\Antoine\AppData\Local\Temp
%SYSDIR%=C:\Windows\System32
%ALLUSERSPROFILE%=C:\ProgramData
%USERPROFILE%=C:\Users\Antoine
%APPDATA%=C:\Users\Antoine\AppData\Roaming
%COMMONPROGRAMFILES%=C:\Program Files\Common Files

Liste des programmes à installer:
Copie du dossier audio sur le disque dur
VLC
Suppression du dossier audio sur le disque dur

3 Eléments, 3 Commandes

-----

vendredi 31 août 2012 23:39:14
Programme: Copie du dossier audio sur le disque dur
ID unique: COPY_AUDIO_TO_HD
Ordre: 0
Catégorie: WPI Built In
vendredi 31 août 2012 23:39:14 - cmd1 Succès (Code de retour 0): CMD /C XCOPY C:\WPI_v8.6.0\Audio C:\WPI_Audio /C /I /E /Y /H /R
vendredi 31 août 2012 23:39:15 - Installation terminée.

-----

vendredi 31 août 2012 23:39:15
Programme: VLC
ID unique: VLC
Ordre: 000001
Catégorie: Applications
vendredi 31 août 2012 23:39:32 - cmd1 Succès (Code de retour 0): "C:\WPI_v8.6.0\Install\vlc-2.0.3-win32.exe" /S
vendredi 31 août 2012 23:39:33 - Installation terminée.

-----

vendredi 31 août 2012 23:39:35
Programme: Suppression du dossier audio sur le disque dur
ID unique: DELETE_AUDIO_FROM_HD
Ordre: 0
Catégorie: WPI Built In
vendredi 31 août 2012 23:39:36 - cmd1 Succès (Code de retour 0): CMD /C RMDIR /S /Q "C:\WPI_Audio"
vendredi 31 août 2012 23:39:36 - Installation terminée.

-----

Nombre d'installations échouées: 0

Installation terminée: vendredi 31 août 2012 23:39:36

Regards

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

v8.6.0 Updates - Released September 1st, 2012

====================================================

*** Fixed some localizations not getting fully utilized.

*** Get Firewall product now shows current information.

*** Get Antivirus product now shows current information.

*** Added Windows and Theme file location into the log.

*** Fixed Get Edition ID.

*** Added OS Current Build to log.

*** More lines at the bottom of the lang_en file.

*** Removed some redundant code. (Skins file???)

Has gone up at the website also and is a release of official record now.

(myselfidem = I made the 2 minor changes you suggested in there too, I just didn't change the v#)

0

Share this post


Link to post
Share on other sites

(myselfidem = I made the 2 minor changes you suggested in there too, I just didn't change the v#)

Many thanks!

I changed only few words for french language. Here is the new lang_fr.js

Keep your good work !

Regards

*Edit: lang file given

Edited by myselfidem
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.