NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 13 14 15 16 17 … 56 Next »
Language Plugin

 
  • 0 Vote(s) - 0 Average
Language Plugin
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#21
2006-01-18, 10:32 AM
Hi N@boleo

I am redoing the Excel sheet again, moving string around. Removing many duplicate that I have found and started to move Sub Menu button to a Common section, to make it easier. I have pasted your "Plugin Translation" into the sheet, but not the wide one.
Did the genererating of the XML file with the Macro work fine for you ?
n@boleo
Offline

Member

Posts: 152
Threads: 12
Joined: Apr 2005
#22
2006-01-18, 12:38 PM (This post was last modified: 2006-01-18, 04:13 PM by n@boleo.)
MixMan Wrote:Hi N@boleo
Did the genererating of the XML file with the Macro work fine for you ?
Yep, but i did not test the generated file yet. I just generate another one right now at work and here it is

[EDIT]Troubles here, openning the xml file with GBPVR, it's there is a problem openning specific characters : ç à é è ê ..... iso type is good but first header is missing
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
, then line 155 good an extra ."

With those changes it works here
[SIZE="1"]Pentium IV 1.4Ghz, 640 Mo RAMBUS, 2x PVR250, Maxtor 160 Go cache 8Mo, LG 17" LCD, Antec Overture modded case, Matrix Orbital LCD 2*20[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#23
2006-01-18, 04:29 PM
Hi

There where an error (a ". at the end of a sentence) in the Excel sheet.
I have corrected that and uploaded todays "heavily" re-arranged Excel file.
Here is your French file, to test.

Sorry, I did not read your earlier post, before i posted this.
n@boleo
Offline

Member

Posts: 152
Threads: 12
Joined: Apr 2005
#24
2006-01-18, 04:34 PM
Still missing the header for the first line, i guess this should be added on macro ...
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?>
Otherwise test is a success
[SIZE="1"]Pentium IV 1.4Ghz, 640 Mo RAMBUS, 2x PVR250, Maxtor 160 Go cache 8Mo, LG 17" LCD, Antec Overture modded case, Matrix Orbital LCD 2*20[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#25
2006-01-18, 04:44 PM
Hi

Actually the XML files are in Unicode now with the macro.
The file size is twice as large, as the earlier ones that I generated.
The header should be <?xml version="1.0" encoding="UTF-8" ?>
The GBPVR version that I tested with assumed that the file was UTF-8 of the header was missing, so the macro generated file worked fine.
I have to test again with some GBPVR versions.
n@boleo
Offline

Member

Posts: 152
Threads: 12
Joined: Apr 2005
#26
2006-01-18, 04:58 PM
Just tried with the UTF-8 tag but gbpvr does not load. Here is the log error
Code:
18/01/2006 17:54:44.935    ERROR    [2]    Il existe un caractère non valide dans le codage donné. Ligne 4, position 58.
18/01/2006 17:54:44.945    ERROR    [2]       at System.Xml.XmlScanner.GetChars(Byte[] srcBuffer, Int32& srcOffset, Int32 srcLen, Char[] destBuffer, Int32 destOffset, Boolean zeroedOut)
   at System.Xml.XmlScanner.Read()
   at System.Xml.XmlScanner.ScanLiteral()
   at System.Xml.XmlTextReader.SetLiteralValues(XmlAttributeTokenInfo fld)
   at System.Xml.XmlTextReader.SetAttributeValues()
   at System.Xml.XmlTextReader.ParseElement()
   at System.Xml.XmlTextReader.Read()
   at System.Xml.XmlValidatingReader.ReadNoCollectTextToken()
   at System.Xml.XmlValidatingReader.Read()
   at System.Xml.XmlLoader.LoadCurrentNode()
   at System.Xml.XmlLoader.LoadChildren(XmlNode parent)
   at System.Xml.XmlLoader.LoadElementNode()
   at System.Xml.XmlLoader.LoadCurrentNode()
   at System.Xml.XmlLoader.LoadCurrentNode()
   at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at GBPVR.Public.SkinHelper..ctor(XmlDocument document, String resourceDirectory)
   at xae10db17d26ba033.xbb1566157f5f8b1f..ctor(String x2b67e84843b345a4, Boolean x16a8bfd49ea44853)
   at xae10db17d26ba033.xbb1566157f5f8b1f.xfb409e85bd292293(String[] xf18a926310372520)
1
This is corresponding to
Quote:<translate originalText="LOCAL LANG" translatedText="Français"/>
witch is I guess typicaly french character ...
[SIZE="1"]Pentium IV 1.4Ghz, 640 Mo RAMBUS, 2x PVR250, Maxtor 160 Go cache 8Mo, LG 17" LCD, Antec Overture modded case, Matrix Orbital LCD 2*20[/SIZE]
MixMan
Offline

Posting Freak

Posts: 1,239
Threads: 100
Joined: Oct 2005
#27
2006-01-18, 07:25 PM
Hi

If I use the French language.xml without header, GBPVR start and shows the french chars.

If I use a UFT-8 header GBPVR craches, with problems loading main menu, skin.xml

If I use a ISO-8859-1 headers, GBPVR crashes, with problems loading main menu, skin.xml

It seems like it is related to "SkinHelper"

I will ask Sub to clarify. It might be a bug in GBPVR.
n@boleo
Offline

Member

Posts: 152
Threads: 12
Joined: Apr 2005
#28
2006-01-18, 07:42 PM
I have a completly different behavior :

Using French language.xml without header or an UFT-8 GBPVR craches, with problems loading main menu, skin.xml whereas if I use a ISO-8859-1 header, GBPVR load and works perfectly.

This definetly needs to be investigate deeper...
[SIZE="1"]Pentium IV 1.4Ghz, 640 Mo RAMBUS, 2x PVR250, Maxtor 160 Go cache 8Mo, LG 17" LCD, Antec Overture modded case, Matrix Orbital LCD 2*20[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#29
2006-01-18, 07:45 PM
n@boleo, can you post the gbpvr.exe.log for the error you get with UTF-8?

I've just tried the file on my machine and strangely it loads up ok in the three situations - no header, UTF-8 header, ISO-8859-1 header. I'm not sure of the exact rules the Microsoft XML parser follows, but the log should give indication what exactly is going wrong.
n@boleo
Offline

Member

Posts: 152
Threads: 12
Joined: Apr 2005
#30
2006-01-18, 07:59 PM
Let's start nearly real time debugging session :p

Pick up all you need
[SIZE="1"]Pentium IV 1.4Ghz, 640 Mo RAMBUS, 2x PVR250, Maxtor 160 Go cache 8Mo, LG 17" LCD, Antec Overture modded case, Matrix Orbital LCD 2*20[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (16): « Previous 1 2 3 4 5 … 16 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  New plugin - MovieTrailers imilne 11 6,207 2014-09-25, 08:16 AM
Last Post: imilne
  HD Logos for the NPVR WebRadio Plugin Lao Pan 3 3,386 2014-02-09, 01:32 PM
Last Post: Lao Pan
  Files plugin tmrt 13 7,435 2014-01-09, 11:16 PM
Last Post: mvallevand
  Plex Plugin - first release psycik 141 59,270 2013-06-16, 08:59 PM
Last Post: JonnyCam
  Web Cams plugin for NextPVR McBainUK 37 15,702 2012-10-19, 07:35 AM
Last Post: McBainUK
  PhotoFilter: New Photos/Videos plugin to browse using metadata cncb 1 2,007 2012-08-10, 04:06 PM
Last Post: cncb
  Any interest in a Spotify Plugin for NextPVR? McBainUK 38 14,235 2012-05-22, 05:37 AM
Last Post: McBainUK
  System Plugin - CPU Temperature Monitoring imilne 1 2,033 2012-03-28, 07:59 PM
Last Post: LegioX
  System Plugin - 2nd Test Release (4th Feb) imilne 31 10,843 2012-02-24, 12:22 PM
Last Post: Reddwarf
  System Plugin - New Test Release (29th Jan) imilne 38 11,178 2012-02-07, 08:38 AM
Last Post: imilne

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

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

Linear Mode
Threaded Mode