Jump to content











Photo
* * * * * 1 votes

Italian Defaults


  • Please log in to reply
38 replies to this topic

#1 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 15 September 2007 - 10:56 AM

File name: Italian Defaults
Description:This script installs both Italian System Locale and Italian Keyboard Layout in your VistaPE compilation independently of your current host machine settings and/or of your Vista DVD Installation language.


Simply copy this script in "WinBuilder\Projects\VistaPE\Tweaks\Languages".





I was inspired by psc's job and other's... :loleverybody:








Enjoy! :w00t:






Note: in order to properly display Date and Time Italian Format in LiteStep Austerity-Shell is needed to edit "system_time.rc" file. Please, read here.


Download file

Attached Thumbnails

  • 0.png


#2 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 17 September 2007 - 06:09 PM

I've noticed that the Clock icon in SysTray show the time in the following manner... (please, see the screenshot)

ISO LogFile is error free.


Any idea will be a lot appreciate!!! :loleverybody: :w00t: :w00t:



"17.41" (System Info window) is right > "5.41" (LiteStep) is wrong.

Attached Thumbnails

  • 3.png


#3 pscEx

pscEx

    Platinum Member

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

Posted 17 September 2007 - 06:31 PM

If I try to right-click on Clock icon in SysTray then this window appears... (please, see 1st screenshot)

Any idea will be a lot appreciate!!! :loleverybody:


My comments (not as 'how to do it right' more 'For me is very strange')
  • In two reg writes you have spaces where they have not to be:

    RegWrite,"HKLM","0x3","WB-Setup\ControlSet001 \Control\TimeZoneInformation"
    ,"StandardStart","00","00","0a","00","05","00","03","00","00","00","00","00","00","00","00","00"

  • I would ommit the lines with 'Microsoft\CTF\Assemblies\'
Good luck!

Peter :w00t:

#4 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 17 September 2007 - 08:32 PM

My comments (not as 'how to do it right' more 'For me is very strange')

  • In two reg writes you have spaces where they have not to be:
  • I would ommit the lines with 'Microsoft\CTF\Assemblies\'
Good luck!

Peter :loleverybody:

Hi, psc! :w00t:
Thank you for your quick reply and thank you for your "free space" indication! (I've just corrected it, and also tried to remove "CTF" entries).

But it doesn't work, and it seems because of LiteStep (or because of myself... :w00t: ) and not because of ItalianDefaults script.
I've tried "vistape008up2-base" instead of "VistaPE-beta 009" (that I always use), I've excluded "LiteStep" and included "BS Explorer"... and with BSE the Clock Time display is right!

ISO LogFile is always error free.

#5 booty#1

booty#1

    Frequent Member

  • .script developer
  • 285 posts
  • Location:Near Frankfurt
  •  
    Germany

Posted 18 September 2007 - 11:09 AM

If I try to right-click on Clock icon in SysTray then this window appears... (please, see 1st screenshot)
Any idea will be a lot appreciate!!! :loleverybody: :w00t: :w00t:
P. S.: "17.41" (System Info window) is right > "5.41" (LiteStep) is wrong...

I think time and date format is hard coded in LiteStep, as it always shows it in US format.
Correction: I think it is hard coded in the theme, as I just saw some screenshots of LiteStep with full 24h clock.

booty#1

#6 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 18 September 2007 - 11:25 AM

:loleverybody:


edit


I confirm that it doesn't work.


I apologize for my untimely (and just edited) news, but unfortunately I was wrong because of "12.56" is a proof of nothing... I've just restarted ISO file under VirtualMachine and Clock Time was showed as "2.24" instead of "14.24"...

#7 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 18 September 2007 - 12:41 PM

I think time and date format is hard coded in LiteStep, as it always shows it in US format.
Correction: I think it is hard coded in the theme, as I just saw some screenshots of LiteStep with full 24h clock.

booty#1

Please, booty#1, could you explain to me something more? :loleverybody:

#8 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 18 September 2007 - 12:49 PM

I was wrong because of "12.56" is not a proof of anything...


Well, it is not a "proof", but it is a "sign":
[Begin Italian]
Cesira, butta la paaasta!
[End Italian]
:loleverybody:
that you need to eat something, take a walk, and think about the problem later. :w00t:

jaclaz

I think it depends on how the theme is made / what is used in it. :w00t: there must be a setting in .rc file:
chronos uses %H for 12 hours format and %I for 24h:http://www.leechprint.com/phil/Readmes/chronos.htm
the x project:
http://www.xdocs.ls-...p?page=MainPage
uses i and h:
http://www.xdocs.ls-...EscapeSequences
or ii and hh for leading zeroes.

#9 booty#1

booty#1

    Frequent Member

  • .script developer
  • 285 posts
  • Location:Near Frankfurt
  •  
    Germany

Posted 18 September 2007 - 01:04 PM

I found the file that configures the clock in the LightStep theme:

LiteStep\themes\austerity\config\system_time.rc

The interesting part is in line 20/21:
;--> for 24hour time change TimeLblText below to: "[time('i:nn')]"TimeLblText                 "[time('h:nn')] [lowerCase(time('am/pm'))]"
I changed it to "TimeLblText [time('i:nn')]" and now I have a 24 hour clock in the tray.
tray.png


BTW: I looked into the source code, too and there I found again a switch named "usClock". May be this is used if no theme is present.

booty#1

#10 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 18 September 2007 - 01:11 PM

Sorry, booty#1, over-lapping posts, was editing mine whilst you posted yours.

:loleverybody:

jaclaz

#11 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 18 September 2007 - 03:50 PM

First of all...

Credits (in rigorous chronological order):

@psc: special thanks for your special and never changed availability @ 360°... :w00t:

@booty#1: special thanks for your shared experience, intuition and following quick replies... :w00t:

@jaclaz: special thanks for your accuracy, reliability and exhaustiveness... :w00t:

@the three of you... for the above same reasons... :w00t:


Well, it is not a "proof", but it is a "sign"

Great!

[Begin Italian]
Cesira, butta la paaasta!
[End Italian]
:w00t:
that you need to eat something, take a walk, and think about the problem later. :loleverybody:

Yes, that's right!!! :w00t:
This community & WB have taken to me like anything before!
Even a woman has not reduced me so!!! :poke:




Thank you all, so very much!!! :w00t:





P. S.: I've found this page that, for who understand all its contents (not me!), maybe could be interesting...

> OffTopic: please, what means BTW? (I think a sort of PostScriptum, but I'm not shure...)



And finally: success!!! (Please, see my thumbnail too!) :w00t:

Attached Thumbnails

  • 0.png


#12 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 18 September 2007 - 04:26 PM

> OffTopic: please, what means BTW? (I think a sort of PostScriptum, but I'm not shure...)


FYI, AFAIR and IMNSHO, BTW means By The Way:
http://www.cygwin.com/acronyms/

:loleverybody:

jaclaz

#13 pscEx

pscEx

    Platinum Member

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

Posted 18 September 2007 - 06:36 PM

@psc: special thanks for your special and never changed availability @ 360°... :w00t:
Great!
This community & WB have taken to me like anything before!
Thank you all, so very much!!! :w00t:

Hi online,

Great that everything works well. :w00t:
:w00t: Within some Latin minutes (tomorrow -or the day(s) after tomorrow- morning) I'm going to explain you how to do the same task w/o your own ( :w00t: ) 'Italian' script. :loleverybody:

Inspite of that: Buona notte!

Even a woman has not reduced me so!!! :w00t:

:w00t:

Peter :w00t:

#14 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 18 September 2007 - 07:20 PM

This community & WB have taken to me like anything before!
Even a woman has not reduced me so!!! :w00t:


If I may, a peculiarly "strong" statement. :w00t:

You know, the forum is public, what could happen should your girlfriend/fianceè/wife ever read it? :w00t:

A reasonable hypothesis can be graphically depicted as follows (as images are not lost in translation):

:w00t: ---> :w00t: ---> :poke: ---> :loleverybody: ---> :w00t: ---> :w00t: ---> :w00t:

jaclaz

#15 pscEx

pscEx

    Platinum Member

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

Posted 18 September 2007 - 08:27 PM

:loleverybody: ---> :w00t: ---> :w00t: ---> :w00t: ---> :w00t: ---> :w00t: ---> :w00t:

Off topic: understandable for a German, too.
(inspite the last pic would be :w00t: )

Peter

#16 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 18 September 2007 - 09:28 PM

:loleverybody: Within some Latin minutes (tomorrow -or the day(s) after tomorrow- morning) I'm going to explain you how to do the same task w/o your own ( :w00t: ) 'Italian' script. :w00t:

And YOU tell me this... NOW?!? :w00t: :w00t: :w00t:







:w00t:



understandable for a German, too.

Ok, I've understood: then we would put in that list not only "Minutes" (Latin, German, Brasilian, Italian, etc) but "Women" too... :w00t:




Buona notte!

Gute Nacht! :w00t:

#17 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 18 September 2007 - 09:54 PM

FYI, AFAIR and IMNSHO, BTW means By The Way

... and "By The Way": what means?
In ITALIAN, please! :loleverybody:



You know, the forum is public, what could happen should your girlfriend/fianceè/wife ever read it? :w00t:

Uhmmm... but I have not at all said that I LIKED it...!!! :w00t: :w00t: :w00t:






:w00t:

#18 pscEx

pscEx

    Platinum Member

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

Posted 19 September 2007 - 08:23 AM

:loleverybody: Within some Latin minutes (tomorrow -or the day(s) after tomorrow- morning) I'm going to explain you how to do the same task w/o your own ( :w00t: ) 'Italian' script. :w00t:

Download autoKeyboard.Script and autoLocalization.Script.

If you compare these scripts with yours, they write the same items into the PE.
The difference is that your items are hardcoded; the items of my scripts are dynamically taken from the actual environment.

Independent of the source CD's language they transfer keyboard and international settings from your local PC.

That means: These script are valid for every language.

If the KBD??.DLL is not on the source CD, it is copied from your local PC.

Peter

#19 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 19 September 2007 - 09:14 AM

... and "By The Way": what means?
In ITALIAN, please! :loleverybody:


by the way:
[Begin Italian]
a proposito
per inciso
tra l'altro
[End Italian]

jaclaz

#20 pscEx

pscEx

    Platinum Member

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

Posted 19 September 2007 - 11:08 AM

And YOU tell me this... NOW?!? :loleverybody: :w00t: :w00t:

Maybe I'm a bad teacher. But I prefer helping people to reach their target by stepping with try and error.
If they finished their working solution, besides congratulations I give hints (from the point of view of a more experienced user) what and why should have be done more efficient, less specific, more ...., less ...

IMHO this is much better than offering a solution at once.

Peter

#21 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 19 September 2007 - 02:56 PM

Download autoKeyboard.Script and autoLocalization.Script.

If you compare these scripts with yours, they write the same items into the PE.
The difference is that your items are hardcoded; the items of my scripts are dynamically taken from the actual environment.

Independent of the source CD's language they transfer keyboard and international settings from your local PC.

That means: These script are valid for every language.

If the KBD??.DLL is not on the source CD, it is copied from your local PC.

Peter

As always, very interesting and workable! :w00t:

Generally my very personal approach (at all, not only in IT) is inclined in order to avoid automatisms, where it is possible.
Actually I've learned (about WB & scripts) more than two months ago (at that moment I was a newbie of WB, and I'm still so...) thanks to you and now almost I can reply to you. :loleverybody:
Generally I prefer a manual setting because of its predictability (therefore I like domesticate Vista!) and "my" script is myself oriented, that's all! :w00t:
You know, when I've tested for the first time your AutoDetect I didn't know the how and the why and it for some reason didn't work as it must.
The reason, maybe, was that my Regional and Language Options in Vista are mixed (for reasons too long to descibe): Italian for keyboard and formats, English for locale and non-Unicode programs.
Then: simply, my script came in useful to bypass this occurrence, and to install "surely" all Italian User/System Keyboard, formats, locale and other independently of my OS real settings.

Recently (yesterday!) I've searched about Keyboard and Locale settings scripts in the forum and I've found others jobs (in others languages) that much the way write the same entries in the registry and in fact actually my script is "became" a close result of others except the addition of built-in encoded "KBDIT.DLL" (then, I don't know if really this script deserves the five stars rating that I saw now...).

:w00t:

#22 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 19 September 2007 - 03:03 PM

by the way:
[Begin Italian]
a proposito
per inciso
tra l'altro
[End Italian]

jaclaz

Thank you, jaclaz! :loleverybody:

#23 pscEx

pscEx

    Platinum Member

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

Posted 19 September 2007 - 03:12 PM

Generally my very personal approach (at all, not only in IT) is inclined in order to avoid automatisms, where it is possible.
Generally I prefer a manual setting because of its predictability (therefore I like domesticate Vista!) and "my" script is myself oriented, that's all! :loleverybody:

So in your case your personalized script is the best. That's ok. :w00t:
Sometimes it would help if a user adds his last tweaks in a 'mytweaks.script'.

Good look and good success for your furher researches!

Peter :w00t:

#24 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 19 September 2007 - 03:15 PM

And YOU tell me this... NOW?!?

This was only a joke about my stress of yesterday... :loleverybody:

IMHO this is much better than offering a solution at once.

Totally I agree!
This is my life-philosophy all along!

"Don't give a man a fish. Teach him how to fish instead". :w00t:





btw: and in fact, then I tripped over "LiteStep" about Clock Time H24 feature so, not? :w00t:

#25 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 19 September 2007 - 03:34 PM

So in your case your personalized script is the best. That's ok. :w00t:

... and in all such cases too. :loleverybody:


psc, thank you very much: really it was a pleasure! :w00t:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users