We have our master website in English built on SXA framework. We would like to create new website in German language. How can i use or modify SXA cloning script so that i can clone items from English version to German version in new website?
You have to follow two steps listed below.
b.In the Clone a Site dialog box, enter a name and click OK
Add a language version to an SXA site in the new cloned website.(https://doc.sitecore.com/developers/sxa/17/sitecore-experience-accelerator/en/add-a-language-version-to-an-sxa-site.html)
a. In the Content Editor, right-click the site item, click Scripts, and click Add Site Language.