Difference between revisions of "Issue:DPL Calendar's i18n adventage and bug"
From FollowTheScore
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) (→Problem) |
||
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. | ||
--[[User:Roc michael|Roc michael]] 03:08, 16 December 2007 (CET) | --[[User:Roc michael|Roc michael]] 03:08, 16 December 2007 (CET) | ||
− | |||
== Reply == | == Reply == |
Revision as of 04:10, 16 December 2007
Description: | DPL Calendar's i18n advantage and bugs |
Extension / Version: | DPL / All |
Type / Status: | Change Request <-- please select / 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. --Roc michael 03:08, 16 December 2007 (CET)