Weather - condition text changed
#1
Hi everybody,
I am developing new weather addon for XBMC.

I currently have a problem with string for condition (current and forecast) Sad If my sentense contains word "se" it is changed to "SE" and If I change language to czech it is changed and translated to "JV"...

Correct condition should be:
Code:
V příštím týdnu se počasí vylepší

Actual condition in english:
Code:
V příštím týdnu SE počasí vylepší

Actual condition in czech:
Code:
V příštím týdnu JV počasí vylepší

Program predicts that word se means shortcut for wind direction and automaticly change this word to localized string.

Any idea how to fix it?

Thanks to all.

Image
Reply
#2
My work arround
Code:
var.replace("se ","[COLOR white]se [/COLOR]").replace("s ","[COLOR white]s [/COLOR]")
Reply

Logout Mark Read Team Forum Stats Members Help
Weather - condition text changed0