Closed GoogleCodeExporter closed 9 years ago
Actually the code already uses regional settings for the datetime. It uses the
language set in MediaPortal Config. On my setup with German set in MePo Config
I
have dd.mm.yyyy hh:mm
Original comment by bborgsd...@gmail.com
on 18 Apr 2010 at 7:59
[deleted comment]
That's weird, i know i have correct regional settings format set..
I re-checked TVSeries, which i know for sure that formats the date by the
regional
settings) and it was working good (dates show as dd.mm.yyyy).
But in the OnlineVideos Updater, i am getting mm/dd/yyyy hh:nn? in the facade
items..
Will double check this tomorrow when i'm not working over VNC :)
Original comment by mitja.skuver
on 18 Apr 2010 at 10:56
Ok, now it's clear.. I'm using English language in MePo because my local
language is
not really translated so I have bunch of mixed strings, and I don't want that :)
For clarification, MP-TVSeries plugin uses system locale and not the MePo
language..
For test, I copied strings_en.xml to strings_hr (Croatian) and set Croatian as
the
language. Then the date is in correct format..
Original comment by mitja.skuver
on 19 Apr 2010 at 8:35
When doing the localization I have though about the two options:
a) using System Lang b) using MePo Lang
I went with the second options for a couple of reasons:
-it's easier to test (don't have to change system language)
-OnlineVideos is only a plugin and should honor the MainApplication settings
-there is one central place to set the language for MePo in Config, so the user
won't
get confused (e.g. I set German in MediaPortal but have an English Windows -
I'd be
confused to see German words in the built-in Plugins but suddenly English in
OnlineVideos)
I'd suggest the MP-TV Series team to change to this behavior as well.
If you have missing strings you can always update the language file with the
MPLanguageTool and submit to the MePo team, so it will be in the next release :)
Original comment by bborgsd...@gmail.com
on 19 Apr 2010 at 9:01
Hehe, i wish i had time also for localization.. 24hrs per day is not enough for
me :)
Original comment by mitja.skuver
on 19 Apr 2010 at 9:09
Original issue reported on code.google.com by
mitja.skuver
on 18 Apr 2010 at 2:43