Page 1 of 1

Need help to translate a skin into french

Posted: 01 Apr 2006 11:28
by ZOWIX
hi all
I'm using the windows media player skin, a very great skin.
But after I've translated the xml, and selected the xml in the change skin menu, VLC don't load the skin, and stay with the default skins2 skin.

If you can help me...

by the way, many thanks to Asim for his great skin.

bye
alex

ps: the confimation code is clear, not like most of web sites!

Posted: 01 Apr 2006 13:05
by AsMaX
hi,
you should see some errors in the logs (run vlc with "--extraintf logger" option or look at Miscellaneous>Messages in the popup menu)

Posted: 01 Apr 2006 14:32
by Guest
ok, thanks AsMaX!
I see...

Posted: 01 Apr 2006 14:46
by ZOWIX
re
here is the error log:
xml error: XML parser error (line 128) : Input is not proper UTF-8, indicate encoding !

xml error: XML parser error (line 128) : Bytes: 0xE9 0x6C 0xE9 0x72
here is the code:

Code: Select all

<Group x="0" y="0"> //line 128 <Anchor x="0" y="0" priority="100"/> <Anchor x="0" y="420" priority="100"/> <Anchor x="560" y="420" priority="100"/> <Anchor x="560" y="0" priority="100"/>
I think VLC doesn't count blank line, I've to count myself the lines...

so here is the concerned code I think:

Code: Select all

<Button up="previous" down="previous_onclick" over="previous_mouseover" x="96" y="382" lefttop="leftbottom" rightbottom="leftbottom" action="playlist.previous()" tooltiptext="Piste précédente"/>
accents are not allowed...
I removed all accents, but problem is again.

Please help me, I don't see how to clean my xml...

Posted: 01 Apr 2006 15:01
by AsMaX
OK... accents *are* allowed, but you have to encode the XML file in UTF-8, and not ISO-8859-1 as you did. Just try to edit your xml with an UTF8 compatible editor. But if you removed accents you should not have this error any more, there must be something else...

Posted: 02 Apr 2006 00:58
by ZOWIX
re
many thanks for the help ;)
now, I've to find a good compressor: ultimatezip, 7z cannot create a good tar for VLC...
the skin isn't loaded, or VLC crashes...
snif snif snif

edit: ***************************************************

the skin is now available for public here:
http://zowix.free.fr/vlc

the vlt file is the skin, the exe file is a package for the skin and the part file plugin.
as soon as possible, I'll had the -I skins2 command line in the shortcut creation with NSIS.
the package installs the skin in the VLC skin directory.

Many thanks to AsMAX, for his big help!

*******************************************************
reedit:

visibly, with this skin you cannot remove a file sic...
so, I'll study the code of another skin to implement this feature in the near future. stay tuned, I'll request the author permission to upgrade his skin.