InterlanguageFlags adds the country's flag next to the interlanguage links in the interwiki module and dropdown.
Installation
Resources
The code uses images stored on Wikimedia Commons.
Supported languages
- Afrikaans (af)
- العربية (ar)
- башҡортса (ba)
- беларуская (be)
- беларуская (тарашкевіца) (be-tarask)
- беларуская (тарашкевіца) (be-x-old)
- български (bg)
- বাংলা (bn)
- bosanski (bs)
- català (ca)
- čeština (cs)
- Cymraeg (cy)
- dansk (da)
- Deutsch (de)
- Deutsch (de2)
- Ελληνικά (el)
- English (en)
- British English (en-gb)
- Esperanto (eo)
- español (es)
- eesti (et)
- euskara (eu)
- فارسی (fa)
- suomi (fi)
- français (fr)
- Gaeilge (ga)
- 贛語 (gan)
- 赣语(简体) (gan-hans)
- 贛語(繁體) (gan-hant)
- galego (gl)
- עברית (he)
- हिन्दी (hi)
- hrvatski (hr)
- magyar (hu)
- հայերեն (hy)
- Bahasa Indonesia (id)
- íslenska (is)
- italiano (it)
- 日本語 (ja)
- ქართული (ka)
- қазақша (kk)
- ಕನ್ನಡ (kn)
- 한국어 (ko)
- Latina (la)
- Limburgs (li)
- lietuvių (lt)
- latviešu (lv)
- 文言 (lzh)
- олык марий (mhr)
- македонски (mk)
- монгол (mn)
- молдовеняскэ (mo)
- मराठी (mr)
- кырык мары (mrj)
- Bahasa Melayu (ms)
- မြန်မာဘာသာ (my)
- Nederlands (nl)
- norsk (no)
- Nouormand (nrm)
- occitan (oc)
- polski (pl)
- português (pt)
- português do Brasil (pt-br)
- română (ro)
- ro-cyrl-md
- русский (ru)
- srpskohrvatski / српскохрватски (sh)
- slovenčina (sk)
- slovenščina (sl)
- shqip (sq)
- српски / srpski (sr)
- srpski (latinica) (sr-el)
- SiSwati (ss)
- svenska (sv)
- тоҷикӣ (tg)
- ไทย (th)
- Tagalog (tl)
- Türkçe (tr)
- татарча/tatarça (tt)
- удмурт (udm)
- українська (uk)
- Tiếng Việt (vi)
- 吴语 (wuu)
- wuu-hans
- wuu-hant
- ייִדיש (yi)
- 粵語 (yue)
- yue-hans
- yue-hant
- 中文 (zh)
- 中文(简体) (zh-hans)
- 中文(繁體) (zh-hant)
- 中文(中国大陆) (zh-cn)
- 中文(香港) (zh-hk)
- 中文(澳門) (zh-mo)
- 中文(马来西亚) (zh-my)
- 中文(新加坡) (zh-sg)
- 中文(臺灣) (zh-tw)
Flag previews
af
ar
ba
be
be-tarask
be-x-old
bg
bn
bs
ca
cs
cy
da
de
de2
el
en
en-gb
eo
es
et
eu
fa
fi
fr
ga
gan
gan-hans
gan-hant
gl
he
hi
hr
hu
hy
id
is
it
ja
ka
kk
kn
ko
la
li
lt
lv
lzh
mhr
mk
mn
mo
mr
mrj
ms
my
nl
no
nrm
oc
pl
pt
pt-br
ro
ro-cyrl-md
ru
sh
sk
sl
sq
sr
sr-el
ss
sv
tg
th
tl
tr
tt
udm
uk
vi
wuu
wuu-hans
wuu-hant
yi
yue
yue-hans
yue-hant
zh
zh-hans
zh-hant
zh-cn
zh-hk
zh-mo
zh-my
zh-sg
zh-tw
Changelog
Date | Notes | Updated by |
---|---|---|
September 7, 2016 | Created, supports for main languages | leviathan 89 |
September 7, 2016 | Added more languages | leviathan 89 |
September 13, 2016 | Added more languages | leviathan 89 |
February 5, 2017 | Added more languages | Quentum |
June 2, 2018 | Fixed bug with language prefixes and HTTPS wikis | Rail |
June 3, 2018 | Added displaying flags in interwiki dropdown | Rail |
December 6, 2018 | Added more languages | Gilben |
December 10, 2018 | Added more languages | Gilben |
June 7, 2021 | Added FandomDesktop support | Matik7 |
February 16, 2022 | Dropped Oasis support | Caburum |
March 12, 2022 | Formatting updates, added padding rather than blank space after the image, fixed flags not displaying before the footer interlanguage text due to missing ::before pseudo-elements and added support for Gamepedia and Fandom interlanguage wikis.
|
Aeywoo |
December 15, 2023 | For legiblility, increased image size and replaced blurry png thumbnail with svg, replaced content with background-image. | Winston Sung |
See also
- ZHVariantFlags
- Adds the variant's/country's/region's flag next to the variant links in the variant dropdown menu.
Text above can be found here (edit)