Can Disqus be loaded in different languages per-page?
Using the this.language JavaScript variable, you can dynamically load the Disqus embed in different languages on a per-page basis. For example, to load the embed in Russian:
var disqus_config = function () {
this.language = "ru";
};
ISO 639-1 two-letter code exceptions
Most languages can be set using their standard two-letter ISO 639-1 code (full list). Exceptions are:
- Chinese (Traditional) = zh_HANT
- German (Formal) = de_formal
- German (Informal) = de_inf
- Portuguese (Brazil) = pt_BR
- Portuguese (European) = pt_EU
- Serbian (Cyrillic) = sr_CYRL
- Serbian (Latin) = sr_LATIN
- Spanish (Argentina) = es_AR
- Spanish (Mexico) = es_MX
- Spanish (Spain) = es_ES
- Swedish = sv_SE
