Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Jul 02, 2015 @ 09:28
    Søren Kottal
    0

    Grids (or other json-based editors) and translation xml files

    Do anyone have any experience of using the translation section, with grids (or other json-based editors)?

    The content gets into the XML as json, can translation agencies handle that?

    I.e. this is the homepage in Fanoe as xml

    <?xml version="1.0" encoding="UTF-8"?>
        <tasks><task Id="1" Date="2015-07-02T11:24:07" NodeId="1073" TotalWords="745"><Comment><![CDATA[]]></Comment><PreviewUrl>http://localhost~/umbraco/translation/preview.aspx?id=1</PreviewUrl><Home id="1073" parentID="-1" level="1" creatorID="0" sortOrder="0" createDate="2015-07-02T11:03:59" updateDate="2015-07-02T11:04:00" nodeName="Home" urlName="home" path="-1,1073" isDoc="" nodeType="1060" creatorName="Søren Kottal" writerName="Søren Kottal" writerID="0" template="1056" nodeTypeAlias="Home"><siteDescription><![CDATA[This is an official Umbraco Starter kit. It shows of the newest features in Umbraco and is the perfect place to start for newcomers.. Everything is made to be taken apart. It's your own little playground. Enjoy!]]></siteDescription><siteTitle><![CDATA[Fanoe - Umbraco Starter Kit]]></siteTitle><siteLogo><![CDATA[/media/1042/logo.jpg]]></siteLogo><content><![CDATA[{
          "name": "1 column layout",
          "sections": [
            {
              "grid": 12,
              "rows": [
                {
                  "name": "Banner",
                  "areas": [
                    {
                      "grid": 12,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "banner_headline",
                        "banner_tagline"
                      ],
                      "config": {},
                      "styles": {
                        "margin-bottom": "60px"
                      },
                      "controls": [
                        {
                          "value": "Welcome to Fanoe",
                          "editor": {
                            "name": "Banner Headline",
                            "alias": "banner_headline",
                            "view": "textstring",
                            "icon": "icon-coin",
                            "config": {
                              "style": "font-size: 36px; line-height: 45px; font-weight: bold; text-align:center",
                              "markup": "<h1 style='font-size:62px;text-align:center'>#value#</h1>"
                            }
                          }
                        },
                        {
                          "value": "This is the new default starter kit for Umbraco, we enjoy building things that not only look great, but also work great.",
                          "editor": {
                            "name": "Banner Tagline",
                            "alias": "banner_tagline",
                            "view": "textstring",
                            "icon": "icon-coin",
                            "config": {
                              "style": "font-size: 25px; line-height: 35px; font-weight: normal; text-align:center",
                              "markup": "<h2 style='font-weight: 100; font-size: 40px;text-align:center'>#value#</h2>"
                            }
                          }
                        }
                      ]
                    },
                    {
                      "grid": 4,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media"
                      ],
                      "controls": [
                        {
                          "value": "<h2>The starter kit</h2>\n<p>Congratulations on getting up and running with the “Fanoe” starter kit. It's a great way to get to know the Grid datatype.</p>\n<p><a href=\"/{localLink:1078}\" title=\"The starter kit\">Learn about the starter kit →</a><a href=\"/{localLink:1078}\" title=\"The Starterkit\"><br /></a></p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    },
                    {
                      "grid": 4,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media"
                      ],
                      "controls": [
                        {
                          "value": "<h2>Learn the basics</h2>\n<p>To get started on the right foot make sure to check out our documentation - from tutorials to API reference.</p>\n<p><a href=\"/{localLink:1079}\" title=\"Basics\">Off to the docs →</a></p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    },
                    {
                      "grid": 4,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media"
                      ],
                      "controls": [
                        {
                          "value": "<h2>Master classes</h2>\n<p>The best way to learn Umbraco is through the Master classes that’s running every month in most regions.</p>\n<p><a href=\"/{localLink:1080}\" title=\"Masterclasses\">Learn about the masterclasses →</a></p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    }
                  ],
                  "styles": {
                    "background-image": "url(/media/1044/14441035391_7ee1d0d166_h_darken.jpg)"
                  },
                  "config": {
                    "class": "dark"
                  },
                  "id": "d28a05da-2404-c1e7-6265-01b07fc5f722"
                },
                {
                  "name": "Two column",
                  "areas": [
                    {
                      "grid": 6,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media",
                        "media_round",
                        "quote"
                      ],
                      "controls": [
                        {
                          "value": "<h1>Umbraco Forms</h1>\n<p>With our add-on product Umbraco Forms it’s a breeze to create any type of form you can imagine.</p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    },
                    {
                      "grid": 6,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media",
                        "media_round",
                        "quote"
                      ],
                      "controls": [
                        {
                          "value": "<h1>Package repository</h1>\n<p>At Our Umbraco you’ll find hundreds of free packages made and maintained by the community.</p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    }
                  ],
                  "styles": {
                    "background-image": "url(/media/1023/form-bg.png)"
                  },
                  "config": {
                    "class": "light"
                  },
                  "id": "5362ea7d-e729-078b-e717-a1e7aa69fd4b"
                },
                {
                  "name": "Full width image",
                  "areas": [
                    {
                      "grid": 12,
                      "allowAll": false,
                      "allowed": [
                        "media_wide_cropped",
                        "media_wide"
                      ],
                      "controls": [
                        {
                          "value": {
                            "focalPoint": {
                              "left": 0.5,
                              "top": 0.5
                            },
                            "id": 1127,
                            "image": "/media/1046/14386124825_d43f359900_h_cropped.jpg"
                          },
                          "editor": {
                            "name": "Image wide",
                            "alias": "media_wide",
                            "view": "media",
                            "render": "/App_Plugins/Grid/Editors/Render/media_wide.cshtml",
                            "icon": "icon-picture"
                          }
                        }
                      ]
                    }
                  ],
                  "styles": {},
                  "config": {
                    "class": "full triangle"
                  },
                  "id": "953b3802-6b4f-20ed-66f9-9a855e9afdd4"
                },
                {
                  "name": "Two column",
                  "areas": [
                    {
                      "grid": 6,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media",
                        "media_round",
                        "quote"
                      ],
                      "controls": [
                        {
                          "value": "<h2>Sharing is caring</h2>\n<p>Our Umbraco is our community hub, bringing together over a hundred thousand people every month sharing knowledge in the forum, documentation, blogs, packages and much more.</p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    },
                    {
                      "grid": 6,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "media",
                        "media_round",
                        "quote"
                      ],
                      "controls": [
                        {
                          "value": "<h2>Born global, loving local</h2>\n<p>If you can’t make it to CodeGarden, that doesn’t mean you have to miss the chance of hanging out with the Umbraco community. You can do just that through the many local user groups and meetups</p>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    }
                  ],
                  "styles": {},
                  "config": {
                    "class": "purple"
                  },
                  "id": "29cac0ff-d8e9-605b-9e7b-6809dce55edd"
                },
                {
                  "name": "Banner",
                  "areas": [
                    {
                      "grid": 12,
                      "allowAll": false,
                      "allowed": [
                        "rte",
                        "banner_headline",
                        "banner_tagline"
                      ],
                      "controls": [
                        {
                          "value": "<h1 style=\"text-align: center;\">CodeGarden</h1>\n<h5 style=\"text-align: center;\">Every year in June, around 500 Umbracians gather in Denmark for our annual conference “CodeGarden”.</h5>",
                          "editor": {
                            "name": "Rich text editor",
                            "alias": "rte",
                            "view": "rte",
                            "icon": "icon-article"
                          }
                        }
                      ]
                    }
                  ],
                  "styles": {
                    "background-image": "url(/media/1028/14435732345_c9f5b48dfa_h_dark.jpg)"
                  },
                  "config": {
                    "class": "dark"
                  },
                  "id": "0093bd05-735a-9623-8509-28085818745c"
                }
              ]
            }
          ]
        }]]></content></Home></task></tasks>
    
  • Dan Evans 629 posts 1016 karma points
    Feb 23, 2017 @ 09:21
    Dan Evans
    0

    Hi

    did you ever resolve this issue?

    Thanks

    Dan

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Feb 23, 2017 @ 19:13
    Søren Kottal
    100

    No we had the translation agency do their job directly in the backoffice.

  • Dan Evans 629 posts 1016 karma points
    Feb 23, 2017 @ 19:14
    Dan Evans
    0

    Thanks, seems to be the way to go.

Please Sign in or register to post replies

Write your reply to:

Draft