View Single Post
  #2 (permalink)  
Old 2nd June 2006
Tizio Tizio is offline
Moderator
BS.Player Master
 
Join Date: Nov 2003
Location: Italy
Posts: 3,037
Rep Power: 28
Tizio will become famous soon enough
Default

I don't know if I understood your question...
Why do you want to put subtitles into a skin?

If you want to load subtitles for every language available to you, you have only to rename the subtitles file as in the example below.

Example:
If you have a movie (e.g. "The Matrix.avi") all you have to do is to rename the subtitles files as the movie name plus the language indicator, and put them in the same folder as the movie one

The Matrix.avi

The Matrix - EN.srt
The Matrix - NL.ssa
The Matrix - it.txt
The Matrix (Japanese).srt
......
and so on..

It doesn't matter what you put after the movie name, BSplayer will load every subtitle file that begins with the movie name



If you didn't wanted this feature, maybe you wanted to have your skin with buttons translated in every BSplayer language ( :? )
If this is the case, you have to modify the skin.ini file as described in the Skin.ini file placed in the Base skin folder.
For exaple, if you add a play button and want its tooltip to be translated in every language, you have to write the play button line as follows:

Code:
[Buttons]
...
Btn3=play,129,116,0,20;$lang.Menu.10
...
where Btn3 means that the play button is the third of the buttons list, 129 that it will be placed at 129 pixels right from the left skin border, 116 that it will be placed at 116 pixels down from the top skin border, 0 that the button is a Normal button, 20 that its action is Play (read it from the SDK files) and finally $lang.Menu.10 means that the string that will be used to show the tooltip of your play button will be the one located in the item number 10 of Menu section in the selected language file (you have to select the language in BSplayer right-click -> Options -> Language)



I hope to have answered to your question... :roll:
If not, please tell me what did you mean :)
__________________
BSP SkinMaker (v1.07) the one and only Skin Editor for BSplayer
BSP Definitions Manager (v1.02)
BS.Player's FAQ (by BSPeter) | Italian language file (v2.57 build 1051)
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20