How to add Simple Copy to Strapi without consequences
make sure there is no root copy that has a value
Example:
test.exampleis root copy oftest.example.labelIf
test.exampleis relevant, then if you add a sub-copy, such astest.example.label, that copy will not work because it is a deep hash inymlthat has been saved for parsing forI18ngemtest:
example: value
example:
label: value2first
examplewill be used as value, and then everything else with same name will be ignoredTo prevent this problem, you must name the copy with a unique name. For example,
test.example-labelortest.example_label.
while naming the copy dont use spaces, comma and new line
There are 2 parts of the `Simple Copy' implementation.
- Backend part that contains all Simple Copy in
scSwitchboardHelpermodule - Frontend part has been partially migrated so as not to load them all. Loaded copies are all copies starting with general, components, comments_response, users_components, wix_mini_market, productreviews,powrzilla, app_settings, app_standalone and all parent app types.
- Backend part that contains all Simple Copy in