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

Added language_fallback behaviour to render_placeholder #1903

Merged
merged 2 commits into from
May 30, 2013

Conversation

yakky
Copy link
Member

@yakky yakky commented May 29, 2013

Adds a per-placeholder option to fallback to fallback languages if the placeholder is empty for the current language.

This fixes #449 and supersedes #1329.
Thanks @lasarux for the code.

@digi604
Copy link
Contributor

digi604 commented May 29, 2013

nice one...

Is PlaceholderConf the right place for this or more CMS_LANGUAGES?

@yakky
Copy link
Member Author

yakky commented May 29, 2013

PlaceholderConf looks like the best option, so it can be a per-placeholder configuration.
See discussion on original issue

@digi604
Copy link
Contributor

digi604 commented May 29, 2013

yep looks clean...

@digi604
Copy link
Contributor

digi604 commented May 30, 2013

could you add your change to the CHANGELOG?

@yakky
Copy link
Member Author

yakky commented May 30, 2013

Added

digi604 added a commit that referenced this pull request May 30, 2013
Added language_fallback behaviour to render_placeholder
@digi604 digi604 merged commit 0721c98 into django-cms:develop May 30, 2013
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

Successfully merging this pull request may close these issues.

Language fallback for placeholders
3 participants