mozilla

Template talk:MSDN

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

この記事はまだ日本語に翻訳されていません。MDN の翻訳はボランティアによって行われています。是非 MDN に登録し、私たちの力になって下さい。

l18n

It might be possible to modify this template to output localized URLs for MSDN.

MediaWiki has <tt>{{CONTENTLANGUAGE}}</tt> (Deki wiki has?) which outputs: "{{ site.language }}". So for French,

<tt>http://msdn.microsoft.com/{{CONTENTLANGUAGE}}-{{CONTENTLANGUAGE}}/library/bb263975(VS.85).aspx</tt>

would become the valid URL:

http://msdn.microsoft.com/fr-fr/libr...75(VS.85).aspx

Problems:

  1. MSDN's URLs also embed a country code, so when the language and country abbreviations aren't the same, some conditional (<tt>{{#if: ...</tt>) template logic would be necessary.
  2. Few, if any, of the 'en-us' MSDN HTML reference pages map exactly to 'fr-fr' pages, for example. Fortunately, MSDN falls back to the 'en-us' page instead of displaying a 'page not found'. For example, the doc for the <tt><a></tt> element: http://msdn.microsoft.com/fr-fr/library/ms535173.aspx --George3 11:08, 6 July 2008 (PDT)

ドキュメントのタグと貢献者

Contributors to this page: George3
最終更新者: George3,