Building Boost.Locale
作者:黄敏 日期:2010-04-19
Enabling subtitles in MediaPortal
作者:黄敏 日期:2010-04-18
I have many movies comes with external soft subtitle files in popular formats such as .srt, or .sub/.idx. These subtitles load perfectly fine if you use an external media player such as MediaPlayerClassi HomeCinema, or even Windows Media Player, as long as you have DirectVobSub(AutoLoading version) installed.
Unfortunately it seems, with default configuration, MediaPortal does not load DirectVobSub and hence does not load subtitles.
It took me a while to google around to find the answer. Below is the solution to enable subtitle in mediaportal for video playback. After this, you should be able to use the shortcut key "l" to switch between different subtitle languages.
Unfortunately it seems, with default configuration, MediaPortal does not load DirectVobSub and hence does not load subtitles.
It took me a while to google around to find the answer. Below is the solution to enable subtitle in mediaportal for video playback. After this, you should be able to use the shortcut key "l" to switch between different subtitle languages.
Tags: MediaPortal subtitle vobsub
Basic GNU Gettext how-to
作者:黄敏 日期:2010-04-14
1. Mark the strings using chosen keywoard (for example, '_')
2. Extract text template out of source code with specified keyword and domain name:
程序代码
\gettext-0.17\bin\xgettext -k_ PnxErrors.h Error.cpp -ophoenix.po -dPhoenix
2. Extract text template out of source code with specified keyword and domain name:
程序代码\gettext-0.17\bin\xgettext -k_ PnxErrors.h Error.cpp -ophoenix.po -dPhoenix
Tags: gettext how-to localization


