If your running a multi-lingual website, being able to switch languages is a key factor. Having a language switcher will make it easier on your users to switch between languages whenever they like. Multi-lingual plugins such as WPML and Polylang offer ways to add language switchers to the theme. We』ll outline how to do this for each plugin below.
How To Add A Language Switcher Using WPMLStep 1 – Navigate to the WPML > Languages tab.
Step 2 – Under the Language Switcher options, you can choose to set a number of options such as where the Language Switcher widget will be placed, the order of languages, whether to display flags, and much more.
How To Add A Language Switcher Using PolylangStep 1 – Navigate to the Appearance > Menus tab.
Step 2 – A Language Switcher option will be available. Check the Language Switcher checkbox, and click the Add to Menu button.
Step 3 – Customize the Language Switcher by expanding the Language Switcher under the Menu Structure section.
标签: translations
Automatic Translation Updates
New in Avada 6.1, we now offer automatic translation updates.
Any time there is an updated translation, you will be notified in the Dashboard > Updates area, and you just need to click the 『Update Translations』 button, which will update the language files of Avada theme and plugins, for which newer translations are available.
When there is a theme update, it works a little differently. If you update Avada, then once the theme update is complete, you will see the 『Update Translations』 button at the bottom of the Updates screen. This is because the translations for a theme update can only be installed AFTER the update is complete. You can download the language updates for Avada at that time, however, if you continue directly to updating the required plugins, as is usually the next step when updating Avada, WordPress updates the Avada theme language files automatically.
Then, when the plugins have been updated, again you will again see an 『Update Translations』 button at the bottom of the Update screen. This time, they are the updated translations for the Avada Core and Avada Builder plugins. Just click Update, and they will also be updated automatically.
Please note, that custom translation files in wp-content/languages/plugins and wp-content/languages/themes will get overwritten on update – just like it happens for all other WP plugins & themes.
If you have translations for your own language, you should contribute these translations, either by submitting a Pull Request in our repository or by sending an email to support, who will take care of the submission for you.
In essence, our products now work just like plugins/themes hosted in the wordpress.org repository:
translations & updates are handled automatically.
users contribute translations.
Don』t Want Automatic Updates?No problem. In Avada 6.1.1, we have added an option to Enable or Disable the Language updates. This can be found at the top of the Theme Features tab, found at Theme Options > Advanced > Theme Features. Just set your preference there. The default is Enabled.
Complete List of WordPress Language Locales
WordPress Locale CodesThis is a complete list of WordPress Language Locales. A locale is a set of parameters that defines the user』s language, region and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language code and a country/region code.
Please Note – You can search by using CRTL/CMD + F to find a specific language.
Locale Name
Native Name
Locale Code
WordPress Locale
Afrikaans
Afrikaans
af
af
Akan
Akan
ak
ak
Albanian
Shqip
sq
sq
Algerian Arabic
الدارجة الجزايرية
arq
arq
Amharic
አማርኛ
am
am
Arabic
العربية
ar
ar
Armenian
Հայերեն
hy
hy
Aromanian
Armãneashce
rup
rup_MK
Arpitan
Arpitan
frp
frp
Assamese
অসমীয়া
as
as
Azerbaijani
Azərbaycan dili
az
az
Azerbaijani (Turkey)
Azərbaycan Türkcəsi
az-tr
az_TR
Balochi Southern
بلوچی مکرانی
bcc
bcc
Bashkir
башҡорт теле
ba
ba
Basque
Euskara
eu
eu
Belarusian
Беларуская мова
bel
bel
Bengali
বাংলা
bn
bn_BD
Bosnian
Bosanski
bs
bs_BA
Breton
Brezhoneg
br
bre
Bulgarian
Български
bg
bg_BG
Catalan
Català
ca
ca
Catalan (Balear)
Català (Balear)
bal
bal
Cebuano
Cebuano
ceb
ceb
Chinese (China)
简体中文
zh-cn
zh_CN
Chinese (Hong Kong)
香港中文版
zh-hk
zh_HK
Chinese (Taiwan)
繁體中文
zh-tw
zh_TW
Corsican
Corsu
co
co
Croatian
Hrvatski
hr
hr
Czech
Čeština
cs
cs_CZ
Danish
Dansk
da
da_DK
Dhivehi
ދިވެހި
dv
dv
Dutch
Nederlands
nl
nl_NL
Dutch (Belgium)
Nederlands (België)
nl-be
nl_BE
Dzongkha
རྫོང་ཁ
dzo
dzo
Emoji
(Emoji)
art-xemoji
art_xemoji
English
English
en
en_US
English (Australia)
English (Australia)
en-au
en_AU
English (Canada)
English (Canada)
en-ca
en_CA
English (New Zealand)
English (New Zealand)
en-nz
en_NZ
English (South Africa)
English (South Africa)
en-sa
en_SA
English (UK)
English (UK)
en-gb
en_GB
Esperanto
Esperanto
eo
eo
Estonian
Eesti
et
et
Faroese
Føroyskt
fo
fo
Finnish
Suomi
fi
fi
French (Belgium)
Français de Belgique
fr-be
fr_BE
French (Canada)
Français du Canada
fr-ca
fr_CA
French (France)
Français
fr
fr_FR
Frisian
Frysk
fy
fy
Friulian
Friulian
fur
fur
Fulah
Pulaar
fuc
fuc
Galician
Galego
gl
gl_ES
Georgian
ქართული
ka
ka_GE
German
Deutsch
de
de_DE
German (Switzerland)
Deutsch (Schweiz)
de-ch
de_CH
Greek
Ελληνικά
el
el
Greenlandic
Kalaallisut
kal
kal
Guaraní
Avañe』ẽ
gn
gn
Gujarati
ગુજરાતી
gu
gu
Hawaiian
Ōlelo Hawaiʻi
haw
haw_US
Hazaragi
هزاره گی
haz
haz
Hebrew
עִבְרִית
he
he_IL
Hindi
हिन्दी
hi
hi_IN
Hungarian
Magyar
hu
hu_HU
Icelandic
Íslenska
is
is_IS
Ido
Ido
ido
ido
Indonesian
Bahasa Indonesia
id
id_ID
Irish
Gaelige
ga
ga
Italian
Italiano
it
it_IT
Japanese
日本語
ja
ja
Javanese
Basa Jawa
jv
jv_ID
Kabyle
Taqbaylit
kab
kab
Kannada
ಕನ್ನಡ
kn
kn
Kazakh
Қазақ тілі
kk
kk
Khmer
ភាសាខ្មែរ
km
km
Kinyarwanda
Ikinyarwanda
kin
kin
Kirghiz
кыргыз тили
ky
ky_KY
Korean
한국어
ko
ko_KR
Kurdish (Sorani)
كوردی
ckb
ckb
Lao
ພາສາລາວ
lo
lo
Latvian
Latviešu valoda
lv
lv
Limburgish
Limburgs
li
li
Lingala
Ngala
lin
lin
Lithuanian
Lietuvių kalba
lt
lt_LT
Luxembourgish
Lëtzebuergesch
lb
lb_LU
Macedonian
Македонски јазик
mk
mk_MK
Malagasy
Malagasy
mg
mg_MG
Malay
Bahasa Melayu
ms
ms_MY
Malayalam
മലയാളം
ml
ml_IN
Maori
Te Reo Māori
mri
mri
Marathi
मराठी
mr
mr
Mingrelian
მარგალური ნინა
xmf
xmf
Mongolian
Монгол
mn
mn
Montenegrin
Crnogorski jezik
me
me_ME
Moroccan Arabic
العربية المغربية
ary
ary
Myanmar (Burmese)
ဗမာစာ
mya
my_MM
Nepali
नेपाली
ne
ne_NP
Norwegian (Bokmål)
Norsk bokmål
nb
nb_NO
Norwegian (Nynorsk)
Norsk nynorsk
nn
nn_NO
Occitan
Occitan
oci
oci
Oriya
ଓଡ଼ିଆ
ory
ory
Ossetic
Ирон
os
os
Pashto
پښتو
ps
ps
Persian
فارسی
fa
fa_IR
Persian (Afghanistan)
(فارسی (افغانستان
fa-af
fa_AF
Polish
Polski
pl
pl_PL
Portuguese (Brazil)
Português do Brasil
pt-br
pt_BR
Portuguese (Portugal)
Português
pt
pt_PT
Punjabi
ਪੰਜਾਬੀ
pa
pa_IN
Rohingya
Ruáinga
rhg
rhg
Romanian
Română
ro
ro_RO
Romansh Vallader
Rumantsch Vallader
roh
roh
Russian
Русский
ru
ru_RU
Rusyn
Русиньскый
rue
rue
Sakha
Сахалыы
sah
sah
Sanskrit
भारतम्
sa_in
sa_IN
Sardinian
Sardu
srd
srd
Scottish Gaelic
Gàidhlig
gd
gd
Serbian
Српски језик
sr
sr_RS
Silesian
Ślōnskŏ gŏdka
szl
szl
Sindhi
سنڌي
snd
snd
Sinhala
සිංහල
si
si_LK
Slovak
Slovenčina
sk
sk_SK
Slovenian
Slovenščina
sl
sl_SI
Somali
Afsoomaali
so
so_SO
South Azerbaijani
گؤنئی آذربایجان
azb
azb
Spanish (Argentina)
Español de Argentina
es-ar
es_AR
Spanish (Chile)
Español de Chile
es-cl
es_CL
Spanish (Colombia)
Español de Colombia
es-co
es_CO
Spanish (Guatemala)
Español de Guatemala
es-gt
es_GT
Spanish (Mexico)
Español de México
es-mx
es_MX
Spanish (Peru)
Español de Perú
es-pe
es_PE
Spanish (Puerto Rico)
Español de Puerto Rico
es-pr
es_PR
Spanish (Spain)
Español
es
es_ES
Spanish (Venezuela)
Español de Venezuela
es-ve
es_VE
Sundanese
Basa Sunda
su
su_ID
Swahili
Kiswahili
sw
sw
Swedish
Svenska
sv
sv_SE
Swiss German
Schwyzerdütsch
gsw
gsw
Tagalog
Tagalog
tl
tl
Tahitian
Reo Tahiti
tah
tah
Tajik
Тоҷикӣ
tg
tg
Tamazight (Central Atlas)
ⵜⴰⵎⴰⵣⵉⵖⵜ
tzm
tzm
Tamil
தமிழ்
ta
ta_IN
Tamil (Sri Lanka)
தமிழ்
ta-lk
ta_LK
Tatar
Татар теле
tt
tt_RU
Telugu
తెలుగు
te
te
Thai
ไทย
th
th
Tibetan
བོད་སྐད
bo
bo
Tigrinya
ትግርኛ
tir
tir
Turkish
Türkçe
tr
tr_TR
Turkmen
Türkmençe
tuk
tuk
Tweants
Twents
twd
twd
Uighur
Uyƣurqə
ug
ug_CN
Ukrainian
Українська
uk
uk
Urdu
اردو
ur
ur
Uzbek
O『zbekcha
uz
uz_UZ
Vietnamese
Tiếng Việt
vi
vi
Walloon
Walon
wa
wa
Welsh
Cymraeg
cy
cy
Yoruba
Yorùbá
yor
yor
Source: https://wpcentral.io/internationalization/
Translation Resources
Translation Basics
Translating The Theme
Translating Fusion Builder
Translating Fusion Core
Multilingual Management With WPML And Avada
Using Polylang With Avada
Updating Translations
Using RTL Languages
Included Language Files
Adding Language Switchers
Storing Translation Files
Help Translating Avada
Help Translating Avada
We at ThemeFusion value all our users』 input and contributions, and are always listening to them. Thanks to the number of contributions sent in by our amazing users, Avada ships in 23 different languages and counting.
If you would like to help translate Avada, please follow our translation documentation instructions and then submit the files to us through our Localization Git. Create a new item and include your translated files as an attachment. Our team will receive it and include it in the next theme update that is issued.
Included Language Files
Before attempting to make your own translations, we suggest checking the pre-created language files that ship with Avada. All these files have been contributed by our amazing users, and the amount of translated strings might vary for each language.
How To Use A Pre-Created Language FileStep 1 – Head to the GitHub Localization Repo.
Step 2 – Click the 『Clone or download』 button in the upper right corner, and choose 『Download ZIP』 to download the language files.
Step 3 – The download contains three sub folder: Avada, fusion-core and fusion-builder. The Avada folder contains the main translation files for the theme, while the other folders contain those for the corresponding required plugins.
Step 4 – Copy the .po and .mo files of your selected language to your WordPress install. For Avada language files, paste them to the wp-content/languages/themes folder. For plugin language files, paste them to the wp-content/languages/plugins folder. For detailed explanation of the storage locations, take a look here: Storing Translation Files.
Step 5 – Login to WP-admin dashboard and navigate to the Settings > General tab.
Step 6 – Find the Site Language option and select the language you』ve just added from the dropdown. For example, if you』ve added Avada-de_DE.po and .mo, you would select 『German』 (Deutsch) from the dropdown.