[Release] UI Language Selector(wizard for people don't know English)
#1
The concept of this script is when the user starts XBMC for the first time, the user will be prompted for the language selector. All the language strings will be displayed in its original char/string, so even a user without knowledge of English does not need to refer to a dictionary.

What string to be displayed and what font is going to be used is definable in the welcome.xml for each language.

Sample welcome.xml for English
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--$Revision: 19319 $-->
<strings>
  <!-- strings 30000 thru 30999 reserved for plugins and plugin settings -->
<string id="30000">English | English</string>
<string id="30001">arial-orig.ttf</string>
  <!-- strings 31000 thru 31999 reserved for skins -->
  <!-- strings 32000 thru 32999 reserved for scripts -->
</strings>

Please refer to the wiki page for installation and setup

http://code.google.com/p/xbox-remote/wik...torForXBMC

You need to choose one "super" font as detailed in the wiki. I made 4 fonts (any one of them) will be able to display full range of characters for all languages supported by XBMC. There is no license issue of them. The size is considerable small (4MB or 8MB).

Please note that as soon as the script is launched, it will not give up if the user changed its mind to cancel it, i.e. press "esc" key will only bring another select screen until you choose one.

This script should work on all platform, but I only tested on Ubuntu 8.10.

Screen shots:

Image

Image

Image

Image

Image

Image
Reply
#2
Version 0.1.0 released

http://xbox-remote.googlecode.com/files/...-0.1.0.tgz

version 0.1.0 is obsoleted please try 0.2.0
Reply
#3
this looks really nice, I'll try it out when I get home from work.
Always read the XBMC online-manual, FAQ and search and search the forum before posting.
For troubleshooting and bug reporting please read how to submit a proper bug report.

If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/
Reply
#4
Tested it on XBOX this morning.

Apart from one path separator bug, it seems the operating system is too fussy about opened file. If I try to overwrite the arial.ttf file then it will give me big face.

For now it will work on Linux including XBMC Live. I will try to work out some solutions.
Reply
#5
Found a solution by creating "super" fonts using fontforge.

http://xbox-remote.googlecode.com/files/...-0.2.0.tgz

You need to download at least one of them and save it "arial.ttf" in XBMC's default font folder. Full instruction see:

http://code.google.com/p/xbox-remote/wik...torForXBMC
Reply
#6
Another release 0.2.3. Hope it's final

http://xbox-remote.googlecode.com/files/...-0.2.3.tgz
Reply

Logout Mark Read Team Forum Stats Members Help
[Release] UI Language Selector(wizard for people don't know English)0