Zero One Documentation
Theme demo
  • Overview
  • Terms & Guidelines
  • Guide
    • Installation
      • Local environment
      • Server
      • Default language!
      • Multilanguage website
      • Config options
      • Folder structure
      • htaccess
      • Updating
      • PHP Composer
    • Administration panel
      • Translating panel
    • Site options
      • SEO options
      • Multi-language
    • Theme styling
      • Less/CSS setup
      • Changing Less variables
      • app.less file
      • Customizing elements
      • Helpful classes
    • Page types
      • Page options
    • Blog
      • Comments
      • Article
    • Work (Portfolio)
      • Project page
    • Shop
      • Snipcart
    • Layout Builder
      • Column Options block
      • Subgrid block
      • Card block
      • Text (Writer) block
      • Custom Heading block
      • Custom List block
      • Typed Text block
      • Quote block
      • Button block
      • › 25 more blocks
    • Form Builder (Premium)
    • OLD Page Builder deprecation
    • Tricks
      • Using icons in the content
      • Kirbytext link tag to button
      • Tricks with image classes
      • Adding Google Fonts
      • Custom icons
      • Cookie notice/banner
    • Theme extending
      • Page Transitions (Swup)
      • Contact form extending
      • Self-hosted fonts
      • Adding new templates
      • Adding new Content block (Layout Builder)
    • GDPR
  • More
  • Support
  • Hire us
  • Changelog
  • Credits
  • Affiliate
Powered by GitBook
On this page

Was this helpful?

  1. Guide
  2. Installation

Default language!

PreviousServerNextMultilanguage website

Last updated 1 year ago

Was this helpful?

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.

Languages in system menu
Languages options
Language settings