WEBVTT

00:00.220 --> 00:04.880
The dynamic content Salesforce Commerce Cloud
integration allows you to create localized

00:04.920 --> 00:09.600
content assets in SFCC from
content items in dynamic content.

00:11.060 --> 00:16.180
When you set up a content asset integration,
you include content type configurations for

00:16.219 --> 00:20.820
each of the content types your integration
supports, including any field mappings for

00:20.860 --> 00:25.680
this content type.
If you support localized content, then you

00:25.720 --> 00:31.200
could also include localized field mappings to
map localized properties to the corresponding

00:31.300 --> 00:34.420
localized fields in a content asset.

00:36.500 --> 00:42.240
In this example, we're mapping the name, page
URL, and page title fields for this content

00:42.360 --> 00:47.780
type to the values the user enters for each
locale for the specified properties in a

00:47.820 --> 00:53.550
content item.
As with a localized slot integration, for a

00:53.580 --> 00:58.820
localized content asset integration, you need
to include a locale mapping section to map

00:58.860 --> 01:02.580
dynamic content locales to locales in SFCC.

01:03.780 --> 01:08.240
In this example, we've included mappings for
English, French, and Italian content, with

01:08.280 --> 01:11.940
English content used as a fallback
if no content is found for the

01:12.080 --> 01:14.780
fr-FR and it-IT locales.

01:17.680 --> 01:19.580
So let's create some localized content.

01:20.910 --> 01:25.440
This content item is created from a content
type registered with a schema that uses

01:25.480 --> 01:26.950
field-level localization.

01:28.260 --> 01:32.510
Users will be able to enter values for
each locale for every localized property.

01:33.430 --> 01:37.550
This content item acts as a container for
the content localized for each locale.

01:40.140 --> 01:44.500
You can see an example of field-level
localization on our documentation site.

01:51.440 --> 01:56.960
The content asset name is a localized
field, and we map this to a field in SFCC.

01:57.700 --> 02:00.080
And we've also got an
English and a French title.

02:05.420 --> 02:06.860
And here's the localized content.

02:13.260 --> 02:16.720
Now, notice we haven't added any
content to the Italian locale.

02:20.180 --> 02:21.460
So we publish the content.

02:21.750 --> 02:28.660
And a localized content asset should

02:28.680 --> 02:30.280
have been created in SFCC.

02:32.320 --> 02:35.700
So let's take a look.
We'll search for the content asset.

02:42.380 --> 02:45.150
And here's the content asset with
the English content displayed.

02:45.620 --> 02:54.300
We'll

02:54.310 --> 02:55.580
switch to the French content.

02:58.100 --> 03:03.660
And here's the localized name, and title,

03:08.640 --> 03:10.320
and the HTML for the French content.

03:14.400 --> 03:20.660
So if we preview the content
asset, here's the English content.

03:25.740 --> 03:27.920
And we'll switch to show the French content.

03:30.400 --> 03:39.340
Now,

03:39.420 --> 03:43.460
if we select the Italian locale,
then the English content is shown.

03:44.180 --> 03:49.470
The reason for this is that even though we
didn't add any content for the it-IT locale,

03:50.280 --> 03:55.829
in our locale settings, we included a
fallback, so the eng-GB locale content

03:55.840 --> 03:56.900
will be used instead.

