Need help to translate a skin into french

About usage, announcement and development of skins for VLC
ZOWIX

Need help to translate a skin into french

Postby ZOWIX » 01 Apr 2006 11:28

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!

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 01 Apr 2006 13:05

hi,
you should see some errors in the logs (run vlc with "--extraintf logger" option or look at Miscellaneous>Messages in the popup menu)

Guest

Postby Guest » 01 Apr 2006 14:32

ok, thanks AsMaX!
I see...

ZOWIX

Postby ZOWIX » 01 Apr 2006 14:46

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...

AsMaX
Cone that earned his stripes
Cone that earned his stripes
Posts: 139
Joined: 05 Mar 2004 09:00
Location: Antibes, France

Postby AsMaX » 01 Apr 2006 15:01

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...

ZOWIX
New Cone
New Cone
Posts: 2
Joined: 01 Apr 2006 14:48
Location: FRANCE - GRENOBLE
Contact:

Postby ZOWIX » 02 Apr 2006 00:58

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.


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 7 guests