I have two templates that look like the following:
Article
- Title : Single Line
- Categories : Multilist
- Pulls in Another Item that provides a level of taxonomy to these articles.
Category
- Title : Single Line
- Description : Multiline
- Image : Image
So the issue is that we have a Article where the language context on the page is en-GB
, anything on that page that has items with a version in en-GB
should pull from that language version. If it doesn't exist in that version it would fall back to en
language (default language on the site). That all works correctly except when I have a property in Glass Mapper.
So if I'm on that page and the language context is en-GB
, but the article falls back (correctly to en
) but there is an en-GB
version of the Category which is a property of Glass Model Article. Instead of pulling the en-GB
version based on the context of the page, it'll just pull the en
version because the Article fell back to that language.
Is there a way to fix this in Glass?
Version Information
- Sitecore 8.1-2
- Glass Mapper: 4.0.5.54