User:Jalexander/Localized landing pages: Difference between revisions
Content deleted Content added
Jalexander (talk | contribs) create |
Jalexander (talk | contribs) ask string change |
||
Line 20: | Line 20: | ||
* 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: <pre> | donate-currency = EUR </pre> <pre> | donate-currency-symbol = € </pre> |
* 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: <pre> | donate-currency = EUR </pre> <pre> | donate-currency-symbol = € </pre> |
||
*Change the ask string amounts. There are 4 to change which look like <pre> | donate-amount-0 = {{{alternate-amount-x|55}}} </pre> |
|||
*x goes from 0 to 3 |
|||
* All you need to change is the # after the | -so using above example and changing 55 to 30 it would say: <pre> | donate-amount-0 = {{{alternate-amount-0|30}}} </pre> |
|||
* press save |
* press save |
Latest revision as of 23:31, 1 December 2010
- 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 = €
- Change the ask string amounts. There are 4 to change which look like
| donate-amount-0 = {{{alternate-amount-x|55}}}
- x goes from 0 to 3
- All you need to change is the # after the | -so using above example and changing 55 to 30 it would say:
| donate-amount-0 = {{{alternate-amount-0|30}}}
- press save
Currency code list
Currency code | Currency symbol |
---|---|
GBP | £ |
EUR | € |
USD | $ |
AUD | $ |
CAD | $ |
CHF | Fr. |
CZK | Kč |
DKK | kr |
HKD | HK$ |
HUF | Ft |
ILS | ₪ |
JPY | ¥ |
NOK | kr |
NZD | NZ$ |
PLN | zł |
SEK | kr |
SGD | S$ |