![]() |
|
|||||||
| Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 | |
|
Senior Member
Join Date: Mar 2004
Posts: 174
![]() |
is there a way to retrieve the language strings from xbmc? what would be nice is to be able to do something like:
Quote:
worst case, i would also settle for a xbmc.getlanguage() function that would return the current language selected and then i can parse the strings.xml file to find the appropriate strings. i think my first suggestion would be better since xbmc must have the file loaded already. does something like this already exist? i didn't see it in the python_readme.txt file... i'd like to make my scripts language independent if possible. |
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jan 2004
Posts: 174
![]() |
or you can try to retrieve infos from the save data of xbmc in tdata
|
|
|
|
|
|
#3 |
|
Team-XBMC Developer
Join Date: Sep 2003
Posts: 530
![]() |
just added xbmc.getlocalizedstring to cvs
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2004
Posts: 174
![]() |
darkie: you rock! time to wait for a new build from cvs.
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strings not affected by language file. | hugener | XBMC for Xbox Specific Support | 7 | 2005-11-17 01:24 |
| Xbmc fatal error: q:\language\english\strings.xml, | Guyton | XBMC for Xbox Specific Support | 1 | 2005-06-13 05:08 |
| Del key when editing strings | jonathonsunshine | XBMC Feature Suggestions | 0 | 1970-01-01 02:00 |