Skip to content

Commit 20136c1

Browse files
committed
Converted 'steps' into an ordered list
Shortened a sentence
1 parent 98b27d3 commit 20136c1

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

10/umbraco-cms/tutorials/multilanguage-setup.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,10 @@ This is achieved in `cs.html` files using `umbracoHelper.AssignedContentItem.Get
285285

286286
#### Steps
287287

288-
Now that you have what you need, create a view called `Navigation.cshtml`, and paste in the following:
288+
Now that you have what you need, take the following steps to create a working example.
289+
290+
1. Create a new view called `Navigation.cshtml`
291+
2. Paste in the following code:
289292

290293
```cshtml
291294
@using Umbraco.Cms.Web.Common
@@ -323,8 +326,8 @@ Now that you have what you need, create a view called `Navigation.cshtml`, and p
323326
}
324327
```
325328

326-
You need to replace `{{homeNodeContentAlias}}` with the Document Type alias of your Home node.
329+
3. Replace `{{homeNodeContentAlias}}` with the Document Type alias of your Home node.
327330

328-
This will look at all the cultures available on the home node, and render links to either the language variant of the current page, or the home node for the language variant. If the home node for a language variant is removed, it will not appear in the list.
331+
This will render links to either the language variant of the current page or the home node for the language variant.
329332

330333
Additionally, `System.Globalization.CultureInfo` is used to obtain the native name of the language being rendered. This is useful if a user does not speak the default language.

14/umbraco-cms/tutorials/multilanguage-setup.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,10 @@ This is achieved in `cs.html` files using `umbracoHelper.AssignedContentItem.Get
323323

324324
#### Steps
325325

326-
Now that you have what you need, create a view called `Navigation.cshtml`, and paste in the following:
326+
Now that you have what you need, take the following steps to create a working example.
327+
328+
1. Create a new view called `Navigation.cshtml`
329+
2. Paste in the following code:
327330

328331
```cshtml
329332
@using Umbraco.Cms.Web.Common
@@ -361,8 +364,8 @@ Now that you have what you need, create a view called `Navigation.cshtml`, and p
361364
}
362365
```
363366

364-
You need to replace `{{homeNodeContentAlias}}` with the Document Type alias of your Home node.
367+
3. Replace `{{homeNodeContentAlias}}` with the Document Type alias of your Home node.
365368

366-
This will look at all the cultures available on the home node, and render links to either the language variant of the current page or the home node for the language variant. If the home node for a language variant is removed, it will not appear in the list.
369+
This will render links to either the language variant of the current page or the home node for the language variant.
367370

368371
Additionally, `System.Globalization.CultureInfo` is used to obtain the native name of the language being rendered. This is useful if a user does not speak the default language.

0 commit comments

Comments
 (0)