We will apply Japanese resources to the container and XM Cloud environment. This procedure was previously introduced in our blog, and this time, we are going to include it again in the steps.
Building a Demo Site with Headless SXA - Part 8 Applying Japanese Resources
Headless SXAXM CloudPublished: 2023-02-20
Content Update
Please check the latest information on the following page
Applying Japanese resources to container environments
Add Japanese resources to a locally launched Docker container image. This article has been previously introduced in this article.
In this case, we will work as follows
- Create docker\build\cm\App_Data
- Download and copy the Japanese resources to the path above
- Add a command to the Dockerfile to copy files
The following is an image of the situation where the files are located.
Please add the following code to the file docker\build\cm\Dockerfile to be built.
# resource copy
COPY .\App_Data\ .\App_Data
After the above code is written, you can import Japanese resources into the environment running locally by running docker compose build cm again.
Updating Project Files
Extract the same resource file under src\platform.
Then open the solution file for this project (located at the top) XmCloudSXAStarter.sln in Visual Studio. Add the appropriate files to the project and rebuild. The following page is after adding the file to the project.
After the above changes are made and committed to the GitHub repository, the Deploy XM Cloud tool will automatically configure the new CMS and apply the tool's Japanese resources.
Japanese resources are applied to individual tools, not to the top tool Launch Pad or SaaS tools such as Pages. The following screen shows that Japanese resources are applied to the Content Editor.
Summary
The Sitecore Cloud Portal screen is still in English, but there are some parts that refer to Japanese resources, so it is convenient to include Japanese resources first. The Sitecore Cloud Portal screen is still in English, but there are some parts that refer to Japanese resources, so it is convenient to include the Japanese resources first.