In a previous article, we introduced the procedure for setting up a Sitecore demo environment, "Running the Sitecore Demo Platform". In this article, we will introduce the steps to set up the Japanese environment. The target version is 10.1.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2T2Zh4SvGcw0XD3S4uWY7P%2Fa834aa52e36b182e3311d8ca6dfd0477%2Fjaresource14.png&w=3840&q=75)
![jaresource01.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3ebirixGwb1Hn9YFI8r4rr%2F84e2c267d00e347c4c13cf2197ad9c9f%2Fjaresource01.png&w=3840&q=75)
Add Japanese language resources
The first step is to add a definition for Japanese to the Core database in order to add resources for the administration screen. The procedure for adding resources is the same for other languages, so please consider that the locale screen will change when adding other languages.
From the administration screen, open the desktop and select Core in the lower right-hand corner where you choose the database.
![jaresource02.gif](/_next/image?url=https%3A%2F%2Fdownloads.ctfassets.net%2Fzi1ovlormku8%2F231qYeZSvRLKWFzwFlAPGG%2F5a0270982885d7d640465e097dc2f87b%2Fjaresource02.gif&w=3840&q=75)
Next, open the Control Panel and add a language. Open the Control Panel and select Localization - Add a new language. Select Japanese (Japan) to complete the language addition process.
![jaresource03.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2HMMqoshyK9i3N4GQFRkxm%2F3ebbbb17578d4189df40bc930f03ae53%2Fjaresource03.png&w=3840&q=75)
This completes the work on the Core database. Next, after adding the language, download the target Japanese resource from https://dev.sitecore.net. The file name this time is Sitecore 10.1.0 rev. 005207 (en-JP).zip. Select Localization - Import languages from the control panel.
![jaresource04.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5G9LFgWzjDaI2poOGlGvQ%2F5b92f410122b09e82c0f18aaf9857e79%2Fjaresource04.png&w=3840&q=75)
Next, upload the file, but the procedure is different from 10.1. Select App_Data as the upload destination.
![jaresource05.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F1lU5Ge5zn5F4X4sJvr8lp7%2Fde852c03284142720141a6fec0a2709b%2Fjaresource05.png&w=3840&q=75)
Click on the Upload button.
![jaresource06.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FAhB3485eQikun49ZLlQlj%2Fc18ad4d96deb450006b760960757ed69%2Fjaresource06.png&w=3840&q=75)
Check "Extract Zip on server during upload.
![jaresource07.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4wKxDYtbKJeVhDyxUkHxF3%2F42ab9a41e9ecf9f5a869c67b08fa4cbe%2Fjaresource07.png&w=3840&q=75)
If you look in the folder to see if it has been extracted correctly, you will see that texts-ja-JP.xml has been added under app_data¥localization. This completes the import, so close the dialog.
![jaresource08.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7gEAwU6GX8LwLOIAXg1xsT%2F61a2df2de5b8fc0abe45f62bd9000dcf%2Fjaresource08.png&w=3840&q=75)
To activate the uploaded resources, open PowerShell ISE and execute the following command to restart the application. You will be prompted for a password to complete the process.
Restart-Application
![jaresource09.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FRfQoWoAXMEY4xuIIlFcIn%2F1fa951654ad58fac155a780819479dcc%2Fjaresource09.png&w=3840&q=75)
The import is now complete. Log out and back in, or open your desktop and switch from the Core database to the Master database to return to normal working mode.
Switch user display language
To switch the user's language, follow the steps below.
- Open the Controle Panel
- Open the Region and language options in My Settings
- Change the Display language to Japanese (Japan)
Once you have completed the changes, the Japanese resources will be added as shown in the screen below.
![jaresource10.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FkRLlS6grfKTV0dD5wxcSb%2Fd67636fefcee07f1f2f0ad68ef9082b7%2Fjaresource10.png&w=3840&q=75)
Additional Resources for Demos
The above screen still shows that resources are still missing. Since some resources are missing, please download the files from the following repository on Github.
- https://github.com/SitecoreJapan/InstallScript/
- 101/powershell-report-ja-jp.xml
- 101/horizon-ja-jp.xml
- 101/SXA-ja-JP-update.xml
- demo/LighthouseLifestyle/lighthouse-ja-jp.xml
- xGenerator/xGenerator-ja-jp.xml
Upload all the above files to temp. Switch to the import screen and specify /temp.
![jaresource11.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2RR75VL7y7tFK1wmBTGGB5%2F62ce492010b7a78367e41e922c5dde66%2Fjaresource11.png&w=3840&q=75)
Click the Upload button to upload the above file.
![jaresource12.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2bSAqhaSmXyf17ueW2PQbw%2F470a550b3acc82c9e8ec8149d46b209f%2Fjaresource12.png&w=3840&q=75)
After the upload is complete, specify the files under /temp for import. First, specify the file /temp/SXAtranslations/ja-JP.xml. After that, proceed with the import procedure.
![jaresource13.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F6DdoEV5A024LRz9ei46GfT%2F6a22e1eddc300faa4ee072d3a6ab8f2c%2Fjaresource13.gif&w=3840&q=75)
Follow this procedure in turn for the following files
- 101/powershell-report-ja-jp.xml
- 101/horizon-ja-jp.xml
- 101/SXA-ja-JP-update.xml
- demo/LighthouseLifestyle/lighthouse-ja-jp.xml
- xGenerator/xGenerator-ja-jp.xml
Once the above resources have been imported, the import of Japanese resources is complete. When you return to the administration screen, you will see the following
![jaresource14.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2T2Zh4SvGcw0XD3S4uWY7P%2Fa834aa52e36b182e3311d8ca6dfd0477%2Fjaresource14.png&w=3840&q=75)
If you open the Experience Editor and switch to Japanese resources, you will see that Japanese resources have been added.
![jaresource15.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F6wkg3VhegipvnlI66lLsNh%2F3f4d7298ba1f4232633021c3abe1ea72%2Fjaresource15.png&w=3840&q=75)
Switch user content language
Now that the import of Japanese resources is complete, the language to be managed is switched from English to Japanese. This setting can be switched by following the steps below.
- Open User Manager
- Double-click the target user to open the settings window
- Open the Language Settings tab and switch the content language to Japanese (Japan): Japanese.
![jaresource16.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3CKXBylwmR6Ov0lsoBMMeB%2F9d01374d6035cc28359d99787cc7a983%2Fjaresource16.png&w=3840&q=75)
Click OK to switch content language.
Deletion of some resources
The Sitecore Demo Platform demo still has some old Japanese resources that were previously used, which will be manually removed and new resources will be added. All of the following operations will be performed in the Marketing Control Panel.
Profile Adjustment
If the profile contains Japanese resources, run Version - Exclude and go to English resources only. The target items are ???? Most of the items are displayed at
![jaresource17.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7pYIquqI9IPKgQafAA9IDC%2F23d54f4bae150d7a95a6d57aa8f3c76c%2Fjaresource17.gif&w=3840&q=75)
If you are able to remove Japanese resources from the following items and sub-items, you are good to go.
/sitecore/system/Marketing Control Panel/Profiles/LighthouseLifestyle/Fitness and Trainers
/sitecore/system/Marketing Control Panel/Profiles/LighthouseLifestyle/Product Interests
/sitecore/system/Marketing Control Panel/Profiles/Templates/Focus
Outcome
All of the resources for outcome are not correct data either, and the Japanese resources need to be removed.
Select the item /sitecore/system/Marketing Control Panel/Outcomes and delete the Japanese resource.
In addition to the above two, resources marked with ?? are not correct as Japanese data, and should be deleted. Since all of these resources are operated using English data in the fallback language, the demo environment will be prepared by deleting the Japanese resource drinks.
Summary
We introduced the Sitecore Demo Platform Japanese language resource coordination. The actual product does not include demo resources, so you will need to upload and complete them, and the resources for PowerShell / Horizon / SXA are provided as modules and can be used individually outside of the demo. Please use them according to your needs.