[Mythtv-translators] Translation and locale configurations

Walter Cheuk wwycheuk at gmail.com
Wed Oct 19 01:53:31 UTC 2011

'd' and 'yyyy' etc. only give numeric values, in Chinese a proper date
should be like 'yyyy年M月d日' where 年, 月 and 日 means 'year', 'month' and
'day' respectively. Also the time format is a bit different.

So please add three date formats: 'dddd yyyy年M月d日', 'ddd M月d日' and
'M月d日' (they can be used for wide-screen, 4:3 screen and short format
respectively) and a time format 'AP h:mm'. Also there is comma (,)
between date and time on the front page of frontend, there is no need
for that in Chinese, or selectively replaced by an extra space.

One more question: Is it OK to format MythArchiveDateFormat like
%Y年%m月%d日(%a) and MythArchiveTimeFormat like %p %I:%M? It seems that
they are using GNOME variables.

2011/10/19 Nicolas Riendeau <knight at teksavvy.com>:
> Hi!
> On 10/18/2011 6:42 PM, Walter Cheuk wrote:
>>>> * Can I add extra characters (Chinese characters, for example) to the
>>>> 'date' or 'time' formats?
> What would you like to add?
>>> If the date and time format is using templated text in the theme, you
>>> can translate that part.  You cannot, however, translate the "raw"
>>> date and time data.
>> Thank you for reply. If I can only choose from fixed format programmed
>> in MythTV itself like 'mmm d yyyy' or 'dd mm', how can I translate
>> that?
> You have to choose one of the date formats offered by MythTV (I do
> believe though that it wouldn't be a problem to add another one if it
> was needed).
> The date formats decide the order and how things such as month names are
> displayed (short format, long, numeric) but the translation of the text
> is handled, I believe, at the OS level...
> (Qt, the framework we use, says this about that in their documentation:
> "The month names will be localized according to the system's locale
> settings.".)
> Can you please check if by choosing a date format *and* by setting your
> system locale to Chinese/China you are able to get what you want?
> Thank you!
> Nicolas
> (MythTV translation maintainer/developer)
> _______________________________________________
> Mythtv-translators mailing list
> Mythtv-translators at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-translators

More information about the Mythtv-translators mailing list