Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add language variable for multilingual sites #2

Open
goanpeca opened this issue Feb 28, 2018 · 2 comments
Open

Add language variable for multilingual sites #2

goanpeca opened this issue Feb 28, 2018 · 2 comments

Comments

@goanpeca
Copy link
Member

goanpeca commented Feb 28, 2018

See https://help.disqus.com/customer/portal/articles/466249-multi-lingual-websites

Language overrides

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";
};

For a full list of language codes, see Languages on Transifex. Note however that Disqus does not support all languages offered in Transifex. For a full list of supported languages, see the Disqus project on Transifex.

@ikus060
Copy link

ikus060 commented Feb 23, 2019

+1 here

Would be nice to have it integrated into the plugins directly.

@miratcan
Copy link

miratcan commented Nov 4, 2022

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants