View Full Version : SuperDateTime translations
I noticed that it is possible to create translation tables in the strings.txt file. These are the various text displayed on the webpages in SC for SuperDateTime.
Is there a way to translate the text that is actually displayed on the player’s screen?
I mean the text like “Today: Partially Clouded” etc. I would like to translate those messages into Dutch.
I would like to translate those messages into Dutch.
.....or german....... ;-)
Since there was no reply I thought to bring this threat on top of the list again.
Anyone knows how to do this?
As you cannot find a string like "Partially Clouded" in strings.txt, I assume that some of the text that is displayed by SuperDateTime (especially the weather information) comes directly from the weather data supplier (weather.com). So strings.txt may not be the right place to search for, instead one might have to switch to another weather data source which delivers the data you need in the language you desire.
That's correct, SDT shows data exactly how it is provided on weather.com. Sure we could functionality to translate strings, however, we'd need to have a list of every possible string that weather.com can use. There are quite a few...
The translation string option could be interesting. We could compile a list of translations strings. And whenever the SuperDateTime can’t find a translation in the transaltions.txt file, it simply displays the string it got from weather.com. This way, users can fill up their translations.txt file gradually. The transaltions.txt could look like this:
Partially Clouded|Gedeeltelijk Bewolkt
The advantage of this approach is that it works for any language and the users are responsible for compiling their own translations.txt file.
Users could even share their translations tables with each other on this forum.
Would this be difficult to implement?
Define strings like SDT_PARTLY_CLOUDY? I have not developed for weather.com, but IIRC Yahoo has a list of around 35 discrete weather codes, e.g. 1=Sunny, 2=Cloudy, something like that.
And that is why you should use the wheatertime plugin instead :)
Thanks for the tip Kuben72. Installed the WeatherTime plugin and it works in Dutch.
Great – problem solved.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.