eZ Community » Forums » eZ Publish 5 Platform » Getting translated content using...
expandshrink

Getting translated content using siteaccesses in eZ Publish 5

Getting translated content using siteaccesses in eZ Publish 5

Tuesday 26 March 2013 12:25:35 pm

Hello guys,

I'm currently trying to access my different siteaccesses defined in the ezpublish.yml to get the content in the certain language, defined in each siteaccess (I have one siteaccess for each language). But currently I'm always getting the content in all translated languages.

I'm using this function to fetch my content in my controller:

$content = $contentService->loadContent( 66 );

Before I paste my other other lines of code and my current siteaccess configuration, I just want to know if its currently possible to do that?

I'm expecting the loadContent function just to return the content in the language, which is defined in the siteaccess I'm currently accessing.

Thank you for any information regarding this in advance!

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from