Wheater city of Europe.

Help each other out

Wheater city of Europe.

Postby Flavio61 on Mon Jul 19, 2004 8:32 pm

Where I can found a list of Europe city code to use in forecasts.xml <code> value?

Thank's.
Flavio61
 
Posts: 18
Joined: Mon Jul 19, 2004 8:27 pm

Postby Arthur on Mon Jul 19, 2004 8:36 pm

You don't have to edit the xml file. Just enter setup (hit F2), go to plugins, now open/edit the weather plugin. You can select city's from a list.

Arthur
Arthur
 
Posts: 207
Joined: Thu Dec 25, 2003 8:52 am
Location: The Hague, The Netherlands

Postby Flavio61 on Mon Jul 19, 2004 10:09 pm

Thank's it was very simple.

Another question:

it's possible to translate the term used in weather plug-in?
Flavio61
 
Posts: 18
Joined: Mon Jul 19, 2004 8:27 pm

Postby Arthur on Tue Jul 20, 2004 8:52 pm

Yes, it is possible. In fact, someone has already translated the weather plugin in dutch:
http://www.xlobby.com/forum/viewtopic.php?t=1643
Maybe he can help you on how to translate to other languages.

Arthur
Arthur
 
Posts: 207
Joined: Thu Dec 25, 2003 8:52 am
Location: The Hague, The Netherlands

Postby Chicoo on Wed Jul 21, 2004 6:18 am

Flavio61,
I have created the Dutch weather plugin. It is not a translation of the original weather plugin, but I created a new one.
It does not have all the options as in the original one, but you can translate most of the information.
You can give it try. The download link is in the forum topic that Arthur posted, including some documentation.
Chicoo
 
Posts: 16
Joined: Wed May 12, 2004 6:24 pm
Location: Netherlands

Postby Flavio61 on Wed Jul 21, 2004 1:42 pm

Chicoo wrote:Flavio61,
I have created the Dutch weather plugin. It is not a translation of the original weather plugin, but I created a new one.
It does not have all the options as in the original one, but you can translate most of the information.
You can give it try. The download link is in the forum topic that Arthur posted, including some documentation.


I have downloaded your plug-in and is perfect for me. I translate all the terms but I don't understand how to substitute the Xweather plug-in that come with XLobby with your.

Thank's for your reply.
Flavio61
 
Posts: 18
Joined: Mon Jul 19, 2004 8:27 pm

Postby Chicoo on Fri Jul 23, 2004 6:33 pm

Flavio61,

There are three things to do when you want to use the plugin:
1) Create a new directory called weather in the plugins directory and copy the file XlobbyWeather.dll and Localization.xml in this directory

2) Open Xlobby and press F2. Goto the plugins tab and select the weather plugin. Click the configure button and you can add cities or translate text.

3) Creat a new screen or modify the current weather screen. If you want to see the current temp you add a label and enter the text plugin>weather>current>temp. The high temperature for tommorrow would be plugin>weather>forecast>1>high
All the exact items to put in are in the doc file.

Hopes that this helps.
Chicoo
 
Posts: 16
Joined: Wed May 12, 2004 6:24 pm
Location: Netherlands

Postby Flavio61 on Fri Jul 23, 2004 9:48 pm

Thank's Chicoo all works fine. :-)

Another question:

Is it possible in the skin editor to select more than one button to change the position or better to change a common property (eg. the font size).

Thank's.
Flavio61
 
Posts: 18
Joined: Mon Jul 19, 2004 8:27 pm