by DeathAxe » Tue Sep 29, 2009 10:08 am
I saw, some scripters using their own translation functionality, but only some. And each script has its own configuration page, where to select the desired language. Each script should select the language according to the display language of MediaMonkey automatically!
I asked for a general method of translating displayed texts in scripts to prevent scripters from worrying about translation and enable everyone (me) to add own translations without rewriting a script. I am not so familiar with VBScript or JavaScript and in fact I don't like them (Wrote some scripts for Word/Excel). I would prefere a clean and fast C/C++ API, as I am convinced of the scripting engine to slow down many things due to poor memory management and some other limitations. With C/C++ a plugin developer could simply use the gnu gettext functions _("...") to enable translation. But maybe this will be available for VBScripts, too some day. When writing some small plugin for Miranda IM I learned about the translation mechanism it uses. It makes use of a sorted list with binary search for translation. I find it a very small and powerful method of translation and user can write translation files without extra tools as needed with gnu gettext.
But nevertheless, the functionality and flexibility of MediaMonkey is very impressive and I am looking forward to have a complete GUI in my language in near future
I saw, some scripters using their own translation functionality, but only some. And each script has its own configuration page, where to select the desired language. Each script should select the language according to the display language of MediaMonkey automatically!
I asked for a general method of translating displayed texts in scripts to prevent scripters from worrying about translation and enable everyone (me) to add own translations without rewriting a script. I am not so familiar with VBScript or JavaScript and in fact I don't like them (Wrote some scripts for Word/Excel). I would prefere a clean and fast C/C++ API, as I am convinced of the scripting engine to slow down many things due to poor memory management and some other limitations. With C/C++ a plugin developer could simply use the gnu gettext functions _("...") to enable translation. But maybe this will be available for VBScripts, too some day. When writing some small plugin for Miranda IM I learned about the translation mechanism it uses. It makes use of a sorted list with binary search for translation. I find it a very small and powerful method of translation and user can write translation files without extra tools as needed with gnu gettext.
But nevertheless, the functionality and flexibility of MediaMonkey is very impressive and I am looking forward to have a complete GUI in my language in near future ;)