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

Changing multilingual behavior? #3101

Closed
MartinAlacam opened this issue Jun 7, 2018 · 2 comments
Closed

Changing multilingual behavior? #3101

MartinAlacam opened this issue Jun 7, 2018 · 2 comments

Comments

@MartinAlacam
Copy link

Hello,
Thanks for nikola, I am liking it a lot, except:
I am writing a multilingual blog (2 languages), and wanted to ask whether it would be at all possible to change the behavior so it would allow posts in exclusively one language. These shouldn't show up at all on the other language. For example mysite.net/en would show post1, post2, post_only_en and mysite.net/tr would show post1(tr), post2(tr), post_only_tr. Basically that would probably mean not having a default language? Is it doable?

@ralsina
Copy link
Member

ralsina commented Jun 7, 2018

Check the SHOW_UNTRANSLATED_POSTS option, I think setting it to False does exactly what you want.

I am closing the issue, feel free to comment if that is not the case and I will reopen.

@ralsina ralsina closed this as completed Jun 7, 2018
@MartinAlacam
Copy link
Author

Thank you! Exactly what I needed.

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

2 participants