Image of admin with English DokuWikiWhen 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. Go to the File Manager, select your DokuWiki installation directory and click Go.
  2. Edit the following file.
    conf/dokuwiki.php
  3. Code in Engish DokuWikiFind 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 DokuWikiEnter 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 FrenchNow 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.

    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

     

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!