Difference between revisions of "Issue:DPL Calendar's i18n adventage and bug"
Roc michael (talk | contribs) (New page: {{Issue |Type = Change Request <-- please select |Extension = DPL |Version = All |Description = DPL Calendar's i18n advantage and bugs |Status = open }} == Proble...) |
Roc michael (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Issue | {{Issue | ||
− | |Type = Change Request | + | |Type = Change Request |
|Extension = DPL | |Extension = DPL | ||
|Version = All | |Version = All | ||
Line 9: | Line 9: | ||
== Problem == | == Problem == | ||
In the [[Template:CalendarSingle]], there is a code like followed | In the [[Template:CalendarSingle]], there is a code like followed | ||
− | <nowiki>{{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}}</nowiki>. But the result of the code will be change depended on the setting < | + | <nowiki>{{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}}</nowiki>. But the result of the code will be change depended on the setting <tt> $wgLanguageCode = "en";</tt> or <tt>$wgLanguageCode = "zh-tw";</tt> in the Localsetting.php. You can see the demo on the followed picture. |
[[image:DPL Calendar's i18n-1.png|center|frame]] | [[image:DPL Calendar's i18n-1.png|center|frame]] | ||
So as you know what will happen. I have to redirect the page [[Template:Calendar/MonthStartMon]], [[Template:Calendar/MonthStartTue]] .... into [[Template:Calendar/MonthStart一]] , [[Template:Calendar/MonthStart二]].... | So as you know what will happen. I have to redirect the page [[Template:Calendar/MonthStartMon]], [[Template:Calendar/MonthStartTue]] .... into [[Template:Calendar/MonthStart一]] , [[Template:Calendar/MonthStart二]].... | ||
− | And there is a good news for the calendar. The title of month in the calendar will change in my native language automatically. | + | And there is a good news for the calendar. The title of month in the calendar will change in my native language automatically. Maybe you can think of the way changing the title of week (eg Mo, Tu, We......) into i18n. |
--[[User:Roc michael|Roc michael]] 03:08, 16 December 2007 (CET) | --[[User:Roc michael|Roc michael]] 03:08, 16 December 2007 (CET) | ||
− | |||
== Reply == | == Reply == |
Latest revision as of 03:32, 20 December 2007
Description: | DPL Calendar's i18n advantage and bugs |
Extension / Version: | DPL / All |
Type / Status: | Change Request / open |
Problem
In the Template:CalendarSingle, there is a code like followed {{Calendar/MonthStart{{#time:D|{{{year}}}-{{{month}}}-01 +1 second}}. But the result of the code will be change depended on the setting $wgLanguageCode = "en"; or $wgLanguageCode = "zh-tw"; in the Localsetting.php. You can see the demo on the followed picture.
So as you know what will happen. I have to redirect the page Template:Calendar/MonthStartMon, Template:Calendar/MonthStartTue .... into Template:Calendar/MonthStart一 , Template:Calendar/MonthStart二.... And there is a good news for the calendar. The title of month in the calendar will change in my native language automatically. Maybe you can think of the way changing the title of week (eg Mo, Tu, We......) into i18n. --Roc michael 03:08, 16 December 2007 (CET)