I have a question regarding the new Multilingual support in Umbraco 8.
For a website we are making we need to publish an Api with multilingual support, however I don't seem to be able to get specific language variants in Umbraco Api.
Currently I am getting the homepage as such:
var homePage = Umbraco.ContentAtRoot().FirstOrDefault(x => x.IsDocumentType(HomePage.ModelTypeAlias)) as HomePage;
This gives me the homepage, including an culture array, but not the content with for the different cultures. It also seems the PublishedContentModel misses the option to set the culture.
Does anyone know how I can get the culture specific content?
Multilingual support in Umbraco Api
I have a question regarding the new Multilingual support in Umbraco 8.
For a website we are making we need to publish an Api with multilingual support, however I don't seem to be able to get specific language variants in Umbraco Api.
Currently I am getting the homepage as such:
This gives me the homepage, including an culture array, but not the content with for the different cultures. It also seems the PublishedContentModel misses the option to set the culture.
Does anyone know how I can get the culture specific content?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.