Skip to content

Commit 4ff11b5

Browse files
authored
Merge pull request #6922 from umbraco/localization
CMS localization: Added Note and updated screenshots
2 parents 3fc6de7 + f9cb341 commit 4ff11b5

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

15/umbraco-cms/customizing/extending-overview/extension-types/localization.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ description: Learn how to manage and use the Backoffice UI Localization files.
66

77
## Registering Localization
88

9-
When registering localizations to a language, you must add a new manifest to the Extension API. The manifest can be added through the `umbraco-package.json` file. Usually, the localization keys are provided through a JavaScript module. In this example, we will use a file named `en.js`:
9+
When registering localizations to a language, you must add a new manifest to the Extension API. The manifest can be added through the `umbraco-package.json` file.
10+
11+
{% hint style="info" %}
12+
The `umbraco-package.json` file is only registered when placed directly in the `/App_Plugins/` or `/App_Plugins/{YourPackageName}` folder. It will not be recognized in nested subfolders.
13+
{% endhint %}
14+
15+
Usually, the localization keys are provided through a JavaScript module. In this example, we will use a file named `en.js`:
1016

1117
{% code title="umbraco-package.json" %}
1218
```json

15/umbraco-cms/fundamentals/data/defining-content/document-type-localization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,22 +81,22 @@ The localizations are applied by using the syntax `#{area alias}_{key alias}`.
8181
Property descriptions support [Umbraco Flavored Markdown](../../../reference/umbraco-flavored-markdown), which uses a different syntax (wrapped in brackets) to avoid conflicts with Markdown headers.
8282
{% endhint %}
8383

84-
![Applying localization to a property](../images/localization-document-type-editor-validation.png)
84+
![Applying localization to a property](../images/localization-document-type-editor-validation-v15.png)
8585

8686
* Add a **property** called `#properties_subTitle` with **alias** `subTitle`.
8787
* Set description to `{#properties_subTitle-desc}`.
8888
* Use a `TextString` editor.
8989
* Enable `Allow at root` in the **Structure** tab.
9090

91-
![Applying localization to a Document Type](../images/localization-document-type-editor.png)
91+
![Applying localization to a Document Type](../images/localization-document-type-editor-v15.png)
9292

9393
3. When creating and editing the content, you will see that the backoffice now uses the configured localizations.
9494

9595
![Localized document creation dialog](../images/localization-document-editor-create.png)
9696

9797
4. Create a new "Article" content:
9898

99-
![Localized document editing](../images/localization-document-editor.png)
99+
![Localized document editing](../images/localization-document-editor-v15.png)
100100

101101
4. When trying to save the content without adding the mandatory content, you will see a warning as expected:
102102

53.5 KB
Loading
87.9 KB
Loading
127 KB
Loading

0 commit comments

Comments
 (0)