Multilanguage site with the Content Presenter

Hey,
I have a question about creating a multilanguage website with the help of a Content Presenter and Contributor Data Files.
I already found this post: How to use content presenter with a multilanguage site
I will try this, but it is very extensive. So I am looking for an easier solution.
Do you have any idea?
Thanks for your help.

Lukas,
which part of Yannick's answer do you find "very extensive"?
a) content
If you want to work with multilingual content, you will need to have it store in the repository. There are some best practices how to do that - basically, it is recommended to have the content somehow linked, so that you may e.g. trigger translation of language resources in other language once the item in the base language changed. The optimal implementation may vary depending on your requirements.
b) rendering with Content Presenter
Note that Oracle provides other means than Content Presenter how to create multilingual sites (my first bet would be WebCenter Sites), but if you want to use Content Presenter there are not so many options. What Yannick suggested is to modify CMIS queries per language settings of your current user. The only other option is to have more Content Presenters with static queries, and somehow display the correct version - e.g. you could have several completely separate sites, one for each language. The latter is actually used quite often in WEM, esp. if sites in other languages don't have the same structure as the master language's one (for instance, if the customer cannot afford to keep updated translations in all other languages). However, technically speaking that is really it.
Jiri

Similar Messages

  • How can I update a Site Column with the content of an array with javascript CSOM?

    I'm relative new to Sharepoint 2013, I'm trying to update the content of a Site column with the content of an array, I can retrieve and visualize the content of my site column, the user is able to change and save the necessary part and the changes are
    saved into an array, now I have to update the content of the site column with the content of the array, but for some kind of reasons I can't accomplish that, any suggestion/example? This is my code so far to retrieve, visualize the site column and store the
    mofication into my array.
        <body>
                <select id="dropdown" name="dropdown" onchange="optSelect()">
                    <option value="EngineType_Cylinders">EngineType_Cylinders</option>
                    <option value="EngineType_EngineCycle">EngineType_EngineCycle</option>
                    <option value="EngineType_EngineFamily">EngineType_EngineFamily</option>
                    <option value="EngineType_Euro">EngineType_Euro</option>
                    <option value="EngineType_FamilyEvolution">EngineType_FamilyEvolution</option>
                    <option value="EngineType_GasEmissionLevel">EngineType_GasEmissionLevel</option>
                    <option value="EngineType_Power">EngineType_Power</option>
                    <option value="EngineType_PowerSupply">EngineType_PowerSupply</option>
                    <option value="EngineType_Use">EngineType_Use</option>
                </select><br />
                <textarea id="textareadisplay" rows="25" cols="23"></textarea><br />
                <input type ="button" value="Update values" onclick="addItemsToColumns()" />
            </body>
    My Javascript
        $(function () {
            SP.SOD.executeOrDelayUntilScriptLoaded(Function.createDelegate(this, function () {
               var select = document.getElementById('dropdown').value;
                console.log(select);
                getSiteColumns(select);
            }), 'SP.js');
        var fieldChoice;
        var choices;
        var addFields = [];
        var slc;
        var clientContext;
        function optSelect() {
            slc = document.getElementById('dropdown').value;
            getSiteColumns(slc);
        function getSiteColumns(selection) {
           clientContext = SP.ClientContext.get_current();
            if (clientContext != undefined && clientContext != null) {
                var web = clientContext.get_web();
                fieldChoice = clientContext.castTo(web.get_availableFields().getByTitle(selection), SP.FieldChoice);
                clientContext.load(this.fieldChoice);
                clientContext.executeQueryAsync(Function.createDelegate(this, this.OnLoadSuccess), Function.createDelegate(this, this.OnLoadFailed));
        function OnLoadSuccess(sender, args) {
            choices = fieldChoice.get_choices();
            var textarea = document.getElementById("textareadisplay");
            textarea.value = choices.join("\n");
        function OnLoadFailed(sender, args) {
            alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        function addItemsToColumns() {
            clientC = SP.ClientContext.get_current();
            var arrayForUpdate = $('#textareadisplay').val().split('\n');
            fieldChoice.set_item(, arrayForUpdate);
            fieldChoice.update();
            clientContext.executeQueryAsync(function () { }, function () { });
        function OnUpdateSuccess(sender, args) {
            var newchoices = fieldChoice.get_choices();
    My problem is on the function addItemsToColumns() please help! Thanks in advance.

    Let's look at your stylesheet -
    <style type="text/css">
    body {
    background-image: url(assets/images/Business%20Men%20In%20Reception%20Col.2.jpg);
    background-repeat: no-repeat;
    background-color: #003;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    It's a good idea not to use spaces or any punctuation in your filenames when working for the web.
    #header {
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    #heading {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    font-style: italic;
    font-variant: normal;
    margin-left:auto;
    margin-right:auto;
    There's no need to specify the default values (font-variant:normal) or to specify auto margins for any block element without an explicitly defined width. And wouldn't it make more sense to put the font style on the body tag, where it will inherit into the rest of the page than to restate it as you have done in the next rule?
    #bodytext {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 25px;
    font-variant: normal;
    width: 300px;
    #container {
    width: 960px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    .rightimg {
    float: right;
    margin-left: auto;
    padding-right: 40px;
    #heading #navbar ul li {
    padding: 30px;
    </style>
    Margin-left:auto can't work without knowing what the width of the element is....  Keep your CSS lean and targeted - it will help you to debug your layouts.

  • Why is the album art from our iTunesU site not downloading with the content?

    Recently, the album art from our iTunes U site has not been downloading with the content. We have tried downloading content from other pages and we get the album art, but when we download out own content the album art does not download with the files. The art appears in the iTunes store so there should not be a problem with the files.  Any idea why this is happening? Here is the link to the iTunes U page for your information.http://itunes.apple.com/gb/institution/university-of-london/id422825754

    Here is the link to the iTunes U page for your information. http://itunes.apple.com/gb/institution/university-of-london/id422825754

  • The file .docx cannot be opened because there are problems with the contents in sharepoint document library

    I created a site and  created a document libarary and assigned a word document as a content type . I have written a workflow to create a new document . The workflow is working fine and all the document is getting created and values are getting stored
    in it .
    As per my requirement I am saving the above site as site template .
    After that I am creating a new site based on the above site template , Its getting created and I started the workflow , its working fine and the document is also getting created .
    The problem is I am getting error while opening the word document
    Error - The file filename.docx cannot be opened because there are problems with the contents .
    Details - No error details availble .
    Indresh

    What are you doing within the txt document?  Is it general text and string based items, or have you something more elaborate going on?
    An older discussion here elaborates a bit more on the dotx vs docx side of things.
    http://social.msdn.microsoft.com/Forums/en-US/de1b5ff9-ea6d-460c-a707-8c28acd4906f/error-opening-office-open-xml-file-when-using-sd-workflow-to-create-item-in-document-library?forum=sharepointcustomizationlegacy
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Firefox hangs on all sites with flash content.

    Firefox hangs on all sites with flash content. If I disable the flash plugin there is no hanging but obviously no flash content either. I have tried all the suggested actions found in the help sections for hanging and plugin problems. The Honda UK site listed below is one of many I am unable to access with flash enabled.
    == URL of affected sites ==
    http://www.honda.co.uk/

    Chris Campbell wrote:
    The key here will be to determine what is different between the machines that work and those that hang.  Of all the systems that fail, they are all Windows 7 32bit?
    Yep, this issue only happens on Windows 7 32-bit machines, currently 6.
    Do you have any 32bit systems that don't fail?
    Yep, the most Windows 7 32-bit machines wont fail.
    What about hardware, are there similarities here?  Attached devices/drivers?  Software that is running at the time?
    These machines are all from DELL. They all have normal hardware, nothing special. Other machines from same type does not affected. Software: All have standard software distributed via Software-distribution (GPO). Only some PCs have special software, but it is not running. No special drives, too.
    Maybe try booting Windows in safe mode to see if it still hangs?
    Good idea, indeed - I will try this.
    We're definitely interested in what's going on.  I'll ask our security and Mozilla folks to see if they have additional clues.
    Thanks!
    EDIT:
    Safe mode: Flash is working! (without disabled Protected Mode!)
    I've set msconfig now to: Custom system start and deselected the boxes to load systemservices and system start elements.
    So, now windows does a non-safe mode boot but no service or element was loaded except the drivers (right?). Flash is not working with this config!
    So, whats the difference between safe mode and normal boot with minimal configuration (see attached picture).
    Only drivers will be loaded, right? If so, I can exclude the network and graphics driver as source: graphics driver are updated right now and network was working in safe-mode.
    Any new ideas?
    Informations about safe-mode

  • Another site already exists at . Delete this site before attempting to create a new site with the same URL

    Hi Everyone,
    It would be great if you can help me with the below.
    Few days ago one of our content db went into suspect mode.  Our DB team had resolved the issue. But one of the sites that was created probably around the same time is no more available. When I try to create a site on the same URL, I get the following
    error.
    Another site already exists at <URL>. Delete this site before attempting to create a new site with the same URL
    When I try to delete the site or if I try to view the details of the site using Central Administration, I can find the site, but it doesn't display any details like Title, DB Name etc.
    If I use stsad -o enumsites command to list ll the site, for the given site I get the following error:
    <nativehr>0x80070002</nativehr><nativestack></nativestack>There is no Web named <URL>.
    I am not even able to delete it using Powershell.
    Please suggest.
    Thanks,
    Uttkarsh

    You might be dealing with orphaned site. Go through the following blog post and see if it helps you delete the orphaned sites.
    http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?ID=299
    Amit

  • PHDS - problem with the content license

    Hi, I have just enabled the basic phds settings in my httpd.conf (ie not the PHDSCommonKeyFile / PHDSPlaybackExpiration / PHDSOutputProtection / PHDSVideoEncryptionLevel) settings:
    <IfModule jithttp_module>
      <Location /hds-vod>
        HttpStreamingJITPEnabled true
        JitFmsDirPath ".."
        HttpStreamingContentPath "/full/location/to/content"
        HttpStreamingJITConfAllowed false
        EncryptionScope server
        ProtectionScheme phds
        Options -Indexes FollowSymLinks
      </Location>
    </IfModule>
    And whilst when hitting the video_bitrate.mp4.f4m file i get the expected xml back with the drmAdditionalHeader element, when I view it in the adobe multibitrate hds player i get the error "There was a problem with the content license., plesae contact your video service provider" - has anyone seen this before?
    Thanks

    Hi, the "adobe multibitrate hds player" is the one you see on the http://server:8134 home page.
    I installed 4.5.3 from scratch and left all the defaults with the exception of EncryptionScope server  & ProtectionScheme phds - the http error log showed the below when visiting http://server:8134 - [Mon Oct 01 08:34:18 2012] [debug] mod_headers.c(756): headers: ap_headers_output_filter()
    The player does say in the bottom right "This video content is DRM protected" and the crossdomain.xml exists and looks like:
    <cross-domain-policy>
    <allow-access-from domain="*"/><site-control permitted-cross-domain-policies="master-only"/>
    </cross-domain-policy>

  • How do I fill an Excel spreadsheet with the contents of a DataTable? (C#, OleDb)

    The following fills a DataTable with the contents of an Excel spreadsheet.
        oledbCmd.CommandText = "SELECT * FROM [" + stSheetName + "$]";
        DataTable dtDataTable = new DataTable();
        using (OleDbDataAdapter oledbAdapter = new OleDbDataAdapter(oledbCmd))
        oledbAdapter.Fill(dtDataTable);
    How do I fill an Excel spreadsheet with the contents of a DataTable?
    bhs67

    You can try this Excel library, it can help u to
    export datatable to excel to Database.
    After add the reference to your project ,add the following code:
    private void button1_Click(object sender, EventArgs e)
    //connect database
    OleDbConnection connection = new OleDbConnection();
    connection.ConnectionString @"Provider=""Microsoft.Jet.OLEDB.4.0"";Data Source=""demo.mdb"";User Id=;Password="
    OleDbCommand command = new OleDbCommand();
    command.CommandText = "select * from parts";
    DataSet dataSet = new System.Data.DataSet();
    OleDbDataAdapter dataAdapter = new OleDbDataAdapter(command.CommandText,connection);
    dataAdapter.Fill(dataSet);
    DataTable t = dataSet.Tables[0];
    //export datatable to excel
    Workbook book = new Workbook();
    Worksheet sheet = book.Worksheets[0];
    sheet.InsertDataTable(t, true, 1, 1);
    book.SaveToFile("insertTableToExcel.xls");
    System.Diagnostics.Process.Start("insertTableToExcel.xls");
    http://www.e-iceblue.com/Tutorials/Spire.XLS/Spire.XLS-Program-Guide/Data-Export-/Import-Export-Datatable-to-Excel-from-Database.html

  • Error message in .docx : 'Open XML file cannot be opened because there are problems with the contents. Details Unspecific error Location: 2'

    I have put a lot of work into a docx document on my Mac, but now can't open it as it gives the error message: 'the Open XML file cannot be opened because there are problems with the contents. Details, Unspecific
    error, Location: 2'
    When opening the original file the message said: 'this file contains word 2007 for Windows equations' etc. but I managed to track changes fine, and saved, closed and re-opened it numerous times without problem. Some graphs seemed moved, and various formulas
    were illegible, but no other weirdness was observed.
    I have microsoft 2008 installed on my Mac OS X version 10.6.8.
    I've tried to fix it using various solutions suggested here, but am afraid am too IT illiterate to have had any luck, please help I'm new to all this!
    I've uploaded it to https://www.dropbox.com/s/hkw9k6lyihzoxpc/SittwayPauktawSQUEACREPORT_KD%2BCH.docx

    Hi,
    This issue is related strictly to oMath tags and occurs when a graphical object or text box is anchored to the same paragraph that contains the equation.
    Please use the "Fix it" tool in the following KB article to resolve the problem. See:
    http://support.microsoft.com/kb/2528942
    Hope this helps.
    Regards,
    Steve Fan
    TechNet Community Support

  • How can I replace my iTunes Library with the contents of my iPod, including the playlists?

    I tried transferring the purchases, but it didn't move my playlists over. I have also tried backing my old library up to a disc, and putting it in my new computer, but it still didn't transfer my playlists.
    Is there any way I can transfer my old itunes library from my old computer to my new computer, including the playlists?
    I have heard people talk about replacing itunes with the contents of the ipod, but I'm not sure how to do it.

    check out this post by Zevoneer.
    if you have an iPod Touch, there are PhoneView and iRip.
    as for playlists, check out the posts by Chris CA in this discussion.

  • PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in.

    I've installed Adobe Presenter V7.0.7 Build 7746. When I open an existing PowerPoint file and try and use Presenter, I get the following error: PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in. If you have seen this message multiple times, you should disable this add-in and check to see if an update is available. Do you want to disable this add-in?
    No, I don't want to disable it. When I click No, PowerPoint stops working. I get a message that says: Microsoft PowerPoint has stopped working. A problem caused the program to stop working correctly, Widows will close the program and notify you if a solution is available. My only choice is to click the Close program button.
    When I open the PPT file again, I get the same "experienced a serious problem" message. If anyone has a solution to this, I'd appreciate knowing what it is. It took me a while just to get the Presenter option to appear in the PowerPoint toolbar. Now that I have it, it's not working.
    Thank you!

    Thank you for your quick reply. Here are the answers to your questions.
    1. The file I'm having issues with was not created using any version of Presenter. It is simply a PowerPoint file.
    2. The file is a PPT not PPTX.
    3. I am running Windows7 and Office 2010.
    I think I might have found the solution to the problem. I opened the PPT file and saved it as a PPTX file. Then I clicked the Presenter option in the PowerPoint toolbar and was able to select different Presenter options with no issues. I opened other PPTX files and I did not get the error window stating 'PowerPoint experienced a serious problem with the 'adobe presenter powerpoint com addin' add-in'.
    This seems to work. So, it appears that any PPT file needs to be saved as a PPTX file before using Presenter. If you have another solution that I might be able to keep in my back pocket (in case this happens again and what I did does not work), then please answer. Otherwise, I'm good now.
    Thanks!

  • Changing the Site URL of a Sharepoint site changes the content type order

    Description
    Changing the Site URL of a Sharepoint site changes the content type order of all lists that
    * contain folder content types
    * and have a custom content type order
    * where a folder content type is the first content type in order.
    Reproducible behaviour
    1. Create a Team Site in Sharepoint
    2. Create a Task List "Test" on the Team Site
    3. Go to List Settings
    4. The Content Type order is by default
        a. Task
        b. Summary Task
    5. Change the Content Type Order to
        a. Summary Task
        b. Task
    6. Go To Site Settings "Title, description and icon"
    7. Change the Site Url
    8. Go To List "Test" List Settings
    9. The Content Type order now is
        a. Task
        b. Summary Task
    10. Select "Change New button order and default content type"
    11. Here, the Content Type order still is
        a. Summary Task
        b. Task
    Is this a bug? Has anyone noticed this behaviour before?
    Kind Regards,
    Joachim

    Hi Joachim,
    You are not missing something or doing something wrong. i Hope :). This behavior is reproductible.
    The granularity of change is better by Powershell. But by the interface is most user-friendly.
    Maybe that's the reason of this behavior.
    Gilles Martinez
    Twitter
    Blog
    Please mark as helpful/answer if this resolved your post

  • My ipod uses 10.2 software, but iphone5 wants 10.7version, will this pose any problems with the content currently in itunes?

    my ipod uses 10.2 software, but iphone5 wants 10.7version, will this pose any problems with the content currently in itunes if I downloand straight from itunes.com?

    Your content is stored locally on your computer, when you update, it will not mess with your content at all.

  • "The file .docx cannot - problems with the contents."

    Word 2007 file HELP!
    I started a paper this morning and saved it as normal, however when I try to reopen it I get the following messege: The file .docx cannot be opened because there are problems with the contents. Does anyone know how to resolve this issue?

    Hi,
    Please check if this applies:
    http://support.microsoft.com/kb/2528942
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Cannot open Word File because "there are problems with the contents"

    Hi Everyone,
    I cannot open Word File because "there are problems with the contents" unspecified error; Location: 2.  Please help as I need this doc for work meeting this morning.  Nothing special about this doc but links were copied into it???  However I do that all the time.  I have never had this happen before.  I am on a 2010 machine.  I just ran a disk permissions repaired and emptied the trash but still no dice.  I had several other word docs up as well when I got up this morning but they are all fine.  I do not have Time Capsule turned on (which I need to do but that will be another thread/question).
    Thank you,
    sb

    Ok, I found a way to open this but not sure what happened to begin with and the formatting setup is different now, almost like text editor?  Not sure what happened here but hope it doesn't happen again?

Maybe you are looking for