PDA

View Full Version : How to edit the unlock screen?


Pop5k
25th September 2007, 08:39 PM
I've just noticed that the unlock screen clock doesn't work with some rom's if the language is changed to something else than what the cooker set as standard. E.g. if I'm using the WM6 HTC Edition with the US English lang., the clock is there. If I set the lang. to German (yes, installed all the localisation files I could find), the clock is not on the unlock screen.

I've found some registry settings for the clock under HKLM\Software\HTC\clock however, none of the settings there indicate more of a language dependance than as for the text what's written on the "Unlock" button.

I've searched quite a bit now but can't find out how to edit that unlock screen so the clock/date works for my/any language.

Can someone help me with that please? Thanks!

DSF
25th September 2007, 10:44 PM
copy ClockControlPanel.dll.0409.mui to ClockControlPanel.dll.0407.mui (for german) . From \Windows

aditionally, you can translate the strings from that file into german with Resource Hacker.

Pop5k
25th September 2007, 11:54 PM
Thank you for the answer DSF, unfortunatelly those .mui files are the wrong ones. ClockControlPanel.dll is the panel you can access through Settings-more-Unlock Screen Clock. That's the panel where you can enable/disable the clock. That file's already present and translated and removing/replacing it has no influence, the clock just won't appear in the unlock screen as long as german is the active language. :confused:

Kylexd
26th September 2007, 02:43 PM
You have to add this to the registry:

HKLM\Software\HTC\clock\Lang0407\

Add a string parameter "Unlock" with your translation as a value.

Pop5k
26th September 2007, 02:55 PM
That value is already there. Besides, the lack of button translation is NOT the issue. The problem is that if I set the phone to use the german localisation THERE IS NO CLOCK OR DATE on the unlock page.
If it's set to english, I can see the clock and date, if I set it to german, all there is is the "how to unlock" info and the "unlock" button.
But thanks anyway. :)

Kylexd
26th September 2007, 04:35 PM
Maybe some HTC mui file is missing then. I made czech localization based on Vox files and unlock clock is working when using it (I just have to add that key to the registry - not necessary in the latest Andot's version as it was already included). There are three HTC mui files in Vox rom: HtcColdBoot.exe.XXXX.MUI, HTCMessage.exe.XXX.mui, HTCSettings.dll.XXXX.mui.

Pop5k
26th September 2007, 05:17 PM
I've got all those HTC files for the german version. Checked them with Resource Hacker, none have anything to do with the clock (coldboot is something about configuration and reboot, settings is for the WLAN and message contains a few translated warning messages).
The idea aint too wrong though as that unlock screen clock seems to be an HTC feature (non htc wm phones lack it afaik).

Weirdest thing is that (iirc) I had the clock when using a manually german localized version of Andot's "WM6.for.C600.chs.eng.cleartype" rom. And I had used the same localisation files I use now.