Parametrized identifiers and storages

Sometimes multiple languages have to be implemented on the website. In this case there will be a problem with storage names because storage data will be the same for all languages. Parametrized identifiers and storages were created to fix this problem.

Route parameter should be added to the manageable zone id or storage name to make its data dependent on this parameter value.

Example:

routes.MapRoute(
                "Content",
                "{lg}/content/{id}", // lg - the current website language
                new { controller = "Content", action = "Index", lg = "en"}
            );

Footer html should look like this <div data-ecms-tag="html|Footer|General{lg}"></div> to make its data unique for each language.

Back to documentation