Difference between revisions of "Project talk:I18n/native feature migration"
Jump to navigation
Jump to search
(started discussions "Bridging the gap until implementation" and "Re:Proposals") |
(suggested better solution for multi-lang work-around. recycling current syntax) |
||
Line 3: | Line 3: | ||
:<nowiki>{{multi-lang|en=Moon|fr=Luna_(Satellite_naturel)|de=Mond_(natürlicher Sattelit)}}</nowiki> | :<nowiki>{{multi-lang|en=Moon|fr=Luna_(Satellite_naturel)|de=Mond_(natürlicher Sattelit)}}</nowiki> | ||
Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 12:38, 11 August 2008 (PDT) | Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 12:38, 11 August 2008 (PDT) | ||
:A better solution would be the recycling of the current syntax. Which is <nowiki>{{multi-lang|PARENT|CODE}} like {{multi-lang|Moon|de}}</nowiki>. So the template would take ''Moon'' as ''langbase'' variable and check for subpages of <font color="black">Moon</font> with appropriate code. Making redirects from <font color="black">Moon/de</font> to <font color="black">Mond_(natürlicher_Sattelit)</font> and from <font color="black">Moon/fr</font> to <font color="black">Luna_(Satellite_naturel)</font> will then display the page correctly in the language table. This would avoid the need of updating each articles multi-lang template once a new translation of the article is released. The creation of the propper redirect at a subpage of the base page would be enough to update all related pages. And I think it wouldn't be much of a change in the current template nor would it break the articles which are already using the template since it would just take the current base page in case no other is specified. | |||
:[[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 06:17, 18 August 2008 (PDT) | |||
==Re:Proposals== | ==Re:Proposals== | ||
I'm still fine with the solution we came up with at the meeting and which are now on the related page to this talk page. Think we should do it this way.<br> | I'm still fine with the solution we came up with at the meeting and which are now on the related page to this talk page. Think we should do it this way.<br> | ||
Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 12:38, 11 August 2008 (PDT) | Greetz, [[Image:Zai_signature.png|45px]] '''[[User:Zai Lynch|Lynch]]''' <sup><small>([[User talk:Zai Lynch|talk]]|[[Special:Contributions/Zai Lynch|contribs]])</small></sup> 12:38, 11 August 2008 (PDT) |
Latest revision as of 05:17, 18 August 2008
Bridging the gap until implementation
I think we might build a tempaltish solution for this until the build-in support becomes enabled. The current Template:Multi-lang only connects articles with the right name sheme. We can rebuild it that it becomes able to connect pages provided in the template. Like
- {{multi-lang|en=Moon|fr=Luna_(Satellite_naturel)|de=Mond_(natürlicher Sattelit)}}
Greetz, Lynch (talk|contribs) 12:38, 11 August 2008 (PDT)
- A better solution would be the recycling of the current syntax. Which is {{multi-lang|PARENT|CODE}} like {{multi-lang|Moon|de}}. So the template would take Moon as langbase variable and check for subpages of Moon with appropriate code. Making redirects from Moon/de to Mond_(natürlicher_Sattelit) and from Moon/fr to Luna_(Satellite_naturel) will then display the page correctly in the language table. This would avoid the need of updating each articles multi-lang template once a new translation of the article is released. The creation of the propper redirect at a subpage of the base page would be enough to update all related pages. And I think it wouldn't be much of a change in the current template nor would it break the articles which are already using the template since it would just take the current base page in case no other is specified.
- Lynch (talk|contribs) 06:17, 18 August 2008 (PDT)
Re:Proposals
I'm still fine with the solution we came up with at the meeting and which are now on the related page to this talk page. Think we should do it this way.
Greetz, Lynch (talk|contribs) 12:38, 11 August 2008 (PDT)