Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {

The sections and keys will be formatted into a map in Umbraco with the format `section_key1` and `section_key2.` These form the unique key they are requested.

If you do not have many translations, you can also choose to include them directly in the meta-object:
If you do not have many translations, you can also choose to include them directly in the meta-object using the `localizations` property:

{% code title="umbraco-package.json" %}
```json
Expand All @@ -62,10 +62,10 @@ If you do not have many translations, you can also choose to include them direct
"meta": {
"culture": "en",
"localizations": {
"section": {
"key1": "value1",
"key2": "value2"
}
"section": {
"key1": "value1",
"key2": "value2"
}
}
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {

The sections and keys will be formatted into a map in Umbraco with the format `section_key1` and `section_key2.` These form the unique key they are requested.

If you do not have many translations, you can also choose to include them directly in the meta-object:
If you do not have many translations, you can also choose to include them directly in the meta-object using the `localizations` property:

{% code title="umbraco-package.json" %}
```json
Expand All @@ -61,11 +61,11 @@ If you do not have many translations, you can also choose to include them direct
"name": "English",
"meta": {
"culture": "en",
"translations": {
"section": {
"key1": "value1",
"key2": "value2"
}
"localizations": {
"section": {
"key1": "value1",
"key2": "value2"
}
}
},
}
Expand Down
Loading