Open up the config.js file found under:
/Library/Themes/235_teehanlax_Lockinfo.theme/Bundles/com.ashman.LockInfo/
with a text editor.
First, Understand this is JavaScript, so all the lines beginning with // are comments.
Now, as you see, there a re lots of options. (Not all of them are important, some completely useless.)
i’ll try to explain the ones i’ve been asked here:
- Loclaisation (the language used)
see the string var language = “en”; ?
that is exactly where you need to change to your specific language.
“en” stands for english, “fr” for French…
Included localizations are: bg(Bulgarian), de(Deutch), es(Español), fr(Français), pl(Polish), ru(Russian), sv(Swedish).
if you need another one do as Joost did: mod one in
/Library/Themes/235_teehanlax_Lockinfo.theme/Bundles/com.ashman.LockInfo/Strings/
- Weather
Obviously you want your local weather on htis thing!
so search for string var locales
it’s value should be: [ "EUR|LU|LU003|LUXEMBOURG" ]; because i’m in Luxemburg (EU).
as stated just above go to http://accuweather.com and search for your local weather.
when you get to it, it’s generally the title you need. For me (international) i needed the code string contained in the title link.
Example: for Ontario in canada (for rje) use: ONTARIO, CA
- Finally, I did not code all of this stuff (I wish i knew how to!!), And this code (even if genial because of what it does) generated lots of issues and questioning.
For further information i recommend reading (as i did) this 136 page answers about all these questionings:
Everything is included in the config.js file with comments and all the rest is in the last point.
it’s not that i’m lazy, it’s just that there are too many of these!! O_o!

December 19th, 2009 at 09:19
hey, i’m having a problem with this theme.. on the weather side, all the numbers just write on top of each other, so after a few updates, it’s just a blob basically.. i have a custom font installed, is this why?
how can i fix this?
thanks!
December 19th, 2009 at 12:18
Nothing to do with custom fonts, which i use also. Fact is i have the same bug but only once in two days… so that makes me go crazy as i cannot reproduce the error, how am i supposed to debug this?!!
Still, i’m on the problem.
December 19th, 2009 at 22:05
I have the same problem unfortunately . . . other than that this theme is a great holdover until Element is finally released! Thanks!
December 24th, 2009 at 03:55
Same problem here. Happens about once a day. I’ve got a screenshot of it occurring, but I don’t see any way to upload to the comments section here. If anyone figures out how to fix this, it would be greatly appreciated. Otherwise, this theme is just awesome.
December 24th, 2009 at 07:07
copy the theme on hard disk and execute lockinfo.html
Got the exactly same problem as the iphone one.
Weather Condition still wrong, and temp on top of each other.
I’m not good in xml, but i’ve got a problem with the weathericon, here it’s really sunny. but on the spingboard it’s raining…
looking in the code seams, it’s the forecast which is taken, not the CurrentCondition from accuweather.
but i don’t know how to change this
think that the script is not updating a div, but it rewrites each time a html code
December 24th, 2009 at 16:06
How do you add other plug-ins to the theme? I would like to add twitter and the push notification (beta) plug-ins.
December 31st, 2009 at 18:49
Seems there is a problem that the right weather picture is not displayed.
accuweather says MOSTLY CLOUDY (07) but I see the sun as image.
I changed in the weather.js the following:
var html = “”;
in
var html = “”;
Now it seems that I have the right image for the weather
January 1st, 2010 at 13:50
seems something went wrong with my previous post.
Ok search the following text in wheater.js
MiniIcons[obj.forecast[0].icon]+iconExt
and change it in
MiniIcons[obj.icon]+iconExt
Other problem I have, is that the weather is not refreshing, I have to respring …
January 5th, 2010 at 22:45
I think I solved the weather image problem and the temp problem.
testing it tonight. If everything goes well, I send the solution to ame235
regards.
// Ame235 edit:
//////////////////////////////////////
//
// Will look at your solution but, as i already posted 2 days ago, solution already found
// and update posted. look here: http://www.ame235.com/ame235/2010/01/05/oky-update-for-lockinfo-theme/
// & read recent posts
January 6th, 2010 at 20:56
Sorry dit not see the new info for 2010.
Send you anyway may corrections and a Dutch languague file by email.
January 6th, 2010 at 22:29
Thnx for your mods:
)
- dutch language will be added on next release (pls resend it zipped / cannot recieve.js files!!).
- For the refresh temp/image, the solution cannot be better than the one in this update, even if that was a good patch in the mean-time.
(should have sent it before
- Regarding the images of the forecast, i’ll check because you’re the only one complaining about that..You’re perfectly right for the solution, but, is there a problem?
January 7th, 2010 at 18:09
I’m not complaining
It depends what you wanne see the actual weather image or the forecast weather image
January 21st, 2010 at 02:49
How can I change the weather location to Hillsboro, Oregon? I type in “Hillsboro, Oregon” and when i go to save it, it comes up with error operation could not be completed. (Cocoa error 513.)
January 21st, 2010 at 10:26
@pindell25 & all
you should go get the new version. v1.0 is out and uses the weathericonplugin for lockinfo to get you location.
easyer, faster mre reliable. and ots of bugs solved.
http://www.ame235.com/