Default language

The first thing you need to do when you create an installation of Zero One is to go to the system Languages options and add your language as the default language.

If English is not the default language of your website, delete it and add your language.

Make sure to add all correct pieces of information for your language, including code and PHP locale string. If you are not sure what are they for your language search online.

There is just one thing. If you want your default language to be at the domain root, you will have to go to zero-one/site/languages/[yourlanguageextension].php, open it with a text editor and

# Change this
'url' => NULL

# Into this
'url' => '/'

If you intend to create a multilanguage website, make sure to read the next documentation page.

Last updated