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

Disqus comments in multilang website show on one language. #201

Closed
Giorgi625 opened this issue Sep 27, 2022 · 1 comment
Closed

Disqus comments in multilang website show on one language. #201

Giorgi625 opened this issue Sep 27, 2022 · 1 comment

Comments

@Giorgi625
Copy link

So I have enabled Disqus comments on two language website, but on both languages disqus shows only on one language. can you fix it?
here is instruction https://help.disqus.com/en/articles/1717203-multi-lingual-websites

@Chacapamac
Copy link
Collaborator

I look at your link, did you do these 2 steps in the instruction?
• Did you set a default language for every discussion on your site, choose a language in your Disqus Admin > Setup > [Appearance]

Screen Shot 2023-01-02 at 3 46 48 PM

• Did You set the JavaScript in your second language Layout > Astroid Layout Manager > Custom code?
LANGUAGE OVERRIDE
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:

<script> var disqus_config = function () { this.language = "ru"; }; </script>

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

No branches or pull requests

2 participants