diff --git a/book/localization.rst b/book/localization.rst index af261d46..9da4795c 100644 --- a/book/localization.rst +++ b/book/localization.rst @@ -14,9 +14,10 @@ Localizations for the content are configured in the webspaces, as already described in :doc:`webspaces`. Adding another localization is as easy as adding another ``localization`` tag to the webspace configuration file. Localizations can also be nested, which has no impact on the representation in -all the dropdowns, but it will help the system to find better fallbacks. +all the dropdowns, but it will help the system to find better fallbacks. This +is why you can only nest them with a depth of 2. -So a good example using english and german as a language might look something +So a good example using English and German as a language might look something like the following fragment. .. code-block:: xml diff --git a/book/webspaces.rst b/book/webspaces.rst index 9d301cca..57ef74b2 100644 --- a/book/webspaces.rst +++ b/book/webspaces.rst @@ -11,19 +11,35 @@ administration interface. Sulu allows you to create pages and sub pages in these trees and fill them with content. Have a closer look at :doc:`templates` for more details on the content management process. -Normally you'll create a webspace for a new website, a landingpage or a portal, +Normally you'll create a webspace for a new website, a landing page or a portal, that should run on your Sulu instance. -The following file shows a configuration. These lines will be explained in the +To make working with configuration files easier Symfony Config provides some handy commands: + +.. code-block:: bash + # Creating a new webspace configuring template + bin/adminconsole config:dump-reference sulu_website --format xml + + # Debugging the configuration + bin/adminconsole debug:config sulu_website + +.. note:: + All of the webspace definition files are located under `config/webspaces` and the default format is XML. + +The following file shows an example configuration written in XML. These lines will be explained in the following paragraphs. .. code-block:: xml - - + + + Example example @@ -98,6 +114,8 @@ following paragraphs. + + .. note::