---
title: "How to change the DokuWiki admin language"
description: "When you initially install DokuWiki you can set it up for a particular language. In the event you want to change the language for the DokuWiki interface, you can change the configuration file code to..."
url: https://www.inmotionhosting.com/support/edu/dokuwiki/change-admin-language-doku/
date: 2013-02-06
modified: 2021-08-16
author: "InMotion Hosting Contributor"
categories: ["DokuWiki"]
type: post
lang: en
---

# How to change the DokuWiki admin language

[![Image of admin with English DokuWiki](https://www.inmotionhosting.com/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-1-english.gif)](/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-1-english.gif)

When you initially install DokuWiki you can set it up for a particular language. In the event you want to change the language for the DokuWiki interface, you can change the configuration file code to allow a different language. The Image to the right shows what the administrator section looks like with English as the language. Changing the Language in DokuWiki requires you to edit the code of the `conf/dokuwiki.php`. Below are the steps to change the interface language of DokuWiki.

## Changing the admin language

1. [Login into your cPanel](/support/edu/cpanel/how-to-log-into-cpanel/). [Go to the File Manager](/support/edu/cpanel/using-file-manager-in-cpanel/), select your DokuWiki installation directory and click Go.
2. [Edit the following file](/support/website/how-to-edit-a-file/). conf/dokuwiki.php
3. [![Code in Engish DokuWiki](https://www.inmotionhosting.com/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-2-edit-code.gif)](/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-2-edit-code.gif) Find the following line in your `conf/dokuwiki.php`: $conf['lang'] = 'en'; //your language You should see the line in the file like the image to the right.
4. [![Code changed to French DokuWiki](https://www.inmotionhosting.com/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-3-changed-language.gif)](/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-3-changed-language.gif) Enter your language code in the `$conf['lang'] = 'en';`. For example, the French language will be the following: $conf['lang'] = 'fr'; The image to the right shows the French language code. Save the changes. [![Image of DokuWiki admin in French](https://www.inmotionhosting.com/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-4-french-interface.gif)](/support/wp-content/uploads/2013/02/edu_dokuwiki_202_change-interface-language_change-interface-language-4-french-interface.gif) Now your administrator section of your DokuWiki will have French as the language. ### Common language code list The following is a small list of codes for the language interface in DokuWiki. For a more comprehensive list of codes please see our [Language code list for PHP programs](/support/website/language-code-list/). Small list of Language codes German de   Japanese ja Russian ru   Portuguese pt Swedish sv   Arabic ar Spanish es   Chinese (Taiwan) zh-tw French fr   Korean ko Italian it   Hebrew he  
