NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 21 22 23 24 25 … 125 Next »
Weather plugin in dutch

 
  • 0 Vote(s) - 0 Average
Weather plugin in dutch
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#1
2007-08-31, 09:39 AM
I just installed the Weather plugin and have yet again impressed the wife Big Grin

As much as I like it, it does not come in dutch, which would improve the WAF some more ;-) In the settings there is no option for dutch. I was wondering why there is a language setting at all, since GBPVR already has such a setting. Couldn't that be used instead as well as the standard translation mechanism?

Another question I have is if there is some other way to make the Weather plugin dutch. All suggestions are - as always - very welcome.

By the way, I'd be happy to provide any dutch translations for the Weather plugin (or any other plugin) if someone needs it... just let me know!
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#2
2007-09-05, 09:13 AM
I found out that, even though there is no dutch options in the Weather plugin settings, it is possible to translate some of the texts of the plugin using the normal translate mechanism of GBPVR. I have been able to translate some of the texts, but still have trouble with many of them. Does anyone how to enforce that the following texts are translated:

Next City
Previous Map
Next Map
Feels Like:
Visibility:
Humidity:
Dewpoint:
Sunrise:
Sunset:
km/hr
ESE etc

Is it documented somewhere which strings need to be translated?
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
SuMo
Offline

Senior Member

Posts: 371
Threads: 13
Joined: May 2006
#3
2007-09-05, 12:36 PM
Did you try adding:
<translate originalText="Next City" translatedText="Volgende Plaats"/>
to the language.dut.xml ?
-[Arjan]-
___________________________
[SIZE="1"]-I'm not a pessimist, just realistic- :p[/SIZE]
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#4
2007-09-05, 01:17 PM
Yes I did; except that I translated it into "Locatie" Wink

However, it does not get translated. The strange thing is that other pieces of text do get translated. For instance, weather conditions such as Clear, Fair and Cloudy get translated perfectly. The texts in my previous post somehow do not get translated. Could it have something to do with punctation and spaces?

Also, the 'screen title' that says "Weather for ..." does not get translated, even though I have the following lines in my language file:

<translate originalText="Weather" translatedText="Weer"/>
<translate originalText="Weather for" translatedText="Weer voor"/>
<translate originalText="for" translatedText="voor"/>

I'm absolutely clueless as to why this happens? :confused:
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
McBainUK
Offline

Posting Freak

Posts: 4,711
Threads: 429
Joined: Sep 2005
#5
2007-09-05, 01:55 PM
Have you tried the full text: "Weather for YOUR CITY"?

If not I would say this is a plug-in thing as all screen text needs to be sent to the "translater" in order for that XML file to work.

May want to get hold of Jeff (the author).
Wiki profile
My Projects
Programs Plugin [SIZE=2](retired)
| Volume OSD Plugin (retired) | Documentation Wiki (retired)
[/SIZE]
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#6
2007-09-05, 02:09 PM
No :o , I did not try "Weather for MY CITY". I sort of assumed that those were two strings concatenated after translation. That's what I would do, at least, so save people the hassle of including a translation for every city they have configured. I will try it out tonight, though, and let you know.
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#7
2007-09-05, 03:20 PM
I had a look in the source code and even though C# is new to me, it did give some answers, so I thought I'd share...

The reason for the language option in the weather plugin is that it uses the Google translation service to translate the details of forecasts, that are virtually impossible to translate using the static language file. Too bad there's no English to Dutch on Google.

I could also find many of my translations did not work because they has a colon behind them, whereas the colon is apparently added later (after translation; not for hi and lo though :confused: ).

The "Next City" string I could not find in the source code (only as a command), so that baffles me still, just like the "Weather for" thing, that does seem to get translated according the code, but somehow doesn't end up on my screen Wink
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
SuMo
Offline

Senior Member

Posts: 371
Threads: 13
Joined: May 2006
#8
2007-09-05, 05:27 PM
The only thing I know is that it is verry picky about punctation and spaces.
I did a lot of translations on the old GBPVR ui, and as soon as you used a small letter instead of a capital , where the original was written with a capital it didn't translate.
As McBainUK said, try to get a hold of Jeff, he could defenitly share some light on the subject.
-[Arjan]-
___________________________
[SIZE="1"]-I'm not a pessimist, just realistic- :p[/SIZE]
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#9
2007-09-05, 05:34 PM
Currently only the buttons are translated.

These strings are

"Main Menu"
"Current"
"Add"
"Remove"
"Map"
"Forecast"
"Details"

I'll add these additional strings to the next rev.

"Weather for"
"As of #TIME# Local Time"
"Forecast for"
"for"

Note that "#TIME# " should be left in English since this is used to substitute the local time fetched form the Internet.

The standalone string "for" is used with map name, e.g High Temps for Stockholm, SE". The name of the map and the name of the city come for the Internet weather site and will not be translated.

Jeff
hzwaal
Offline

Member

Posts: 157
Threads: 21
Joined: Jan 2007
#10
2007-09-06, 08:59 AM
Jeff: Could you also translate the following strings:

Next City
Next Map
Previous Map

Thanks...
[SIZE="1"]
HW: Asus M2NPV-VM (nVidia 6150/430 chipset), AMD Athlon64 3200+, 2x512MB Kingston ValueRAM, Samsung 250GB HDD, 2x Hauppauge PVR 150MCE, Pioneer DVR-111D, Seasonic S12-330 PSU, Silverstone LC10B-M case, Zalman 7500-AlCu fan
SW: XP Pro (SP2), PVRX2 (1.2.9), NVidia (163.71), Hauppauge (2.0.48.24227). MPV/MPA Decoders
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 160,919 2012-01-20, 12:15 PM
Last Post: martint123
  Un-installation of the Weather plugin rkircher 1 14,030 2011-05-20, 08:40 PM
Last Post: scb147
  software recorder, any plugin like it for npvr? chesterusob 2 14,818 2011-04-11, 07:28 AM
Last Post: chesterusob
  Caller ID Plugin elbryyan 3 15,025 2011-02-23, 01:17 AM
Last Post: smajor
  Newest IMon display-hardware finally gets Plugin-mode back mila06 1 5,110 2011-01-01, 05:37 PM
Last Post: kindt nick
  Freazing up trying to watch live TV or access System plugin dspdrew 2 3,564 2010-11-03, 07:52 AM
Last Post: johnsonx42
  Music plugin support thread MixMan 103 41,128 2010-08-31, 09:46 PM
Last Post: povarotti
  New Videos Library Plugin jasonbs10 202 67,661 2010-08-22, 01:38 PM
Last Post: 7ore
  videos library plugin crashes pvrx2 on fanart... cs4 no crash and no fan art why??. tvshowman 2 4,139 2010-04-01, 09:59 PM
Last Post: tvshowman
  Program Plugin not launching MS Games jw100 0 2,746 2010-04-01, 05:53 PM
Last Post: jw100

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode