External configuration files

Julian, would it be asking too much to allow WDL to access different configuration files within the same web page.

Here is why I am asking for such…

I would like to use an english and a french versions of WLD.

On the english one, I would like to have the english measurement by default (such as F, mph, feet, etc).

And on the french one, I would like to have the metric measurement by default.

Also, is there a chance of moving all the text to an external file so it could be translated to other languages, such as french or german for example.

I really enjoy looking at the page created by WDL… Thanks for such a nice software.

You could do this at the moment. You’d just need to make sure that the clientraw and wdlconfig files were in 2 separate locations on your website. ie duplicated but with the different settings required in each wdlconfig file. Then point the different web pages displaying WDL to the different clientraw locations.

The only slight hassle would be getting the clientraw file to 2 locations but you should be able to do this with your FTP client, assuming you are using something like WS_FTP and not WD’s built in FTP program, or you could do it with a script file.

You can have as many instances of WDL on your website as you like as long as the domain name remains the same for each.

Julian

Hello Julian.

You could do this at the moment. You’d just need to make sure that
the clientraw and wdlconfig files were in 2 separate locations on your
website. ie duplicated but with the different settings required in each
wdlconfig file.

There is no problem with the different directories/locations on the server…

But there might be some problems with the upload of the “clientraw” file to two different directories/locations and that of the file “clientraw” being updated regularly…

I hate to think that I would have/need to install a FTP software just to upload the “clientraw” file to another directory/location - I should be able to do that from within Weather Display.

Now, how about translated text for what is shown by WLD - any possibilities of moving all the text to an external file?

Just pausing to think for a moment - is this the right way to go?

What you’re trying to achieve is different language versions of WDL with correspondingly different units. Because you never know what the preferred language of the person viewing the page is, and there’s currently no automatic reliable way of knowing it, wouldn’t it be better to allow the user to select their chosen language from a drop down within WDL and the units change accordingly?

Just a thought.

Julian

Julian,

I want to create/use two different Web pages, one in english and the other in french - I will be presuming that, if someone surf the french Web pages, he/she can read french… :wink:

Thus my “gentle” request that all the text of WDL page be moved to, if at all possible, an external file. This way, any “registered-only” users of WDL would be able to translate and show the WDL page in their own favorite language(s).

And, by the same fact, WDL would become a multilangual software… :slight_smile:

I want to create/use two different Web pages, one in english and the other in french - I will be presuming that, if someone surf the french Web pages, he/she can read french... ;-)

Thus my “gentle” request that all the text of WDL page be moved to, if at all possible, an external file. This way, any “registered-only” users of WDL would be able to translate and show the WDL page in their own favorite language(s).

Yes I understand what you’re saying, but the point I’m trying to make is that in an ideal world you want your site to cater for many different languages and not necessarily just French and English. You don’t want to have multiple occurrences of WDL for every language - it would be better to let the user choose.

Anyway I’ll have a think about how I could implement your suggestion.

Julian

Julian.

...the point I'm trying to make is that in an ideal world you want your site to cater for many different languages and not necessarily just French and English...

My site will never cater for/to more than two languages (ie: english and french) … because I cannot write nor read other languages.

Unless there is something new (software?) to write and translate Web pages on-demand, then, I have to write those Web pages in the languages that I know using the software that I have…

I am sure, in a near futur, one will be able to create his/her Web pages using special encoding so that, depending on the browser’s setup, that page will be shown in the user’s own tongue… :wink:

Seriously, having the texts of WDL in an external file would allow for translation into different languages, thus making WDL multilangual.

i am intending to have it possible to have a second clientrawrealtimeftp.exe program running that you can setup to ftp to a sepearate ftp server, or even just to a different directory on the same server,
i should be able to do in the next few days (but i away tomorrow at a conference)

i should be able to do in the next few days

Brian, there is no urgency for this modification … take all the time you need … as long as it is ready for next Christmas… :wink:

I’ve been thinking about this but it’s not as straightforward as it may seem and it’s raised other questions. :smiley: For example how would you get the current conditions to display in your chosen language? If you were using Metars then you would somehow have to translate them on the fly.
All the button and graph legends and options would also have to be changed so the amount of text to be supplied starts to get quite large.

Don’t get me wrong, I think it’s a great idea to make it multilingual, but from past experience, I want to make sure the way it’s developed is the best possible way of doing it.

Julian

Julian…

For example how would you get the current conditions to display in your chosen language?

I am not asking you to modify WDL so that it would automatically display in the user’s language (in his/her browser) - that would be impossible to do!

I will never expect WDL to be available on my Web page in russian, for example, as I do not need nor will not make WDL available in that language!

I was just suggestion that WDL be modified in such a way that the texts from the screen be moved to an external file, preferably in a text format, so that users like myself (and others, I am sure) could translate those texts to our own language.

All the button and graph legends and options would also have to be changed so the amount of text to be supplied starts to get quite large.

Again, you mis-understood me - WDL should be available only in those languages that you would received translated files for.

Don't get me wrong, I think it's a great idea to make it multilingual, but from past experience, I want to make sure the way it's developed is the best possible way of doing it.

I cannot and will not expect you to modify WDL so it is available in all available languages of the world - that would be “stupidity”!

In my younger days, when I was writing programs, I made sure they were available in at least two languages (english and french) those languages I was familiar with. If someone requested a german or spanish version, I would ask for their assistance with the translation.