User:Jalexander/Localized landing pages

From Wikimedia Foundation Governance Wiki
Revision as of 23:13, 1 December 2010 by Jalexander (talk | contribs) (create)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
How to localize a landing page
  • Find the language version you need for example:
     http://wikimediafoundation.org/wiki/WMFJA1/es 
  • edit the page (if you add ?action=edit to the end of the page name, such as:
     http://wikimediafoundation.org/wiki/WMFJA1/es?action=edit 
  • copy the code of the entire page
  • go to the page you want to create using the form Landigpage/languagecode/countrycode. For example:
    http://wikimediafoundation.org/wiki/WMFJA1/es/ES 
  • create that page (either using the ?action=edit meathod or press create)
  • paste the code from the language page into the edit box
  • look for the name of the 'Donate now' template . It will look like:
     {{2010/Donate-now6B 
  • change that to go to 6localized. So that it looks like
     {{2010/Donate-now6localized 
  • Look for donate-currency and donate-currency-symbol = €. Which are together and look like
     | donate-currency = USD 
     | donate-currency-symbol = $ 
  • change the 3 letter currency code and the currency symbol to the correct ones for the country you are making (see symbol/code list below) As an example see below for euros:
     | donate-currency = EUR 
     | donate-currency-symbol = € 
  • press save
You're done!


Currency code list

Currency code Currency symbol
GBP £
EUR
USD $
AUD $
CAD $
CHF Fr.
CZK
DKK kr
HKD HK$
HUF Ft
ILS
JPY ¥
NOK kr
NZD NZ$
PLN
SEK kr
SGD S$