Title: Different dashboard language for admin
Last modified: August 20, 2016

---

# Different dashboard language for admin

 *  [sennomo](https://wordpress.org/support/users/sennomo/)
 * (@sennomo)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/different-dashboard-language-for-admin/)
 * Hi, I’m designing my first wp site for an organisation and tried to change some
   php code that changed the default language of the dashboard when the admin (I)
   wasn’t logged in..
    wp-conf.php replace define (‘WPLANG’, ”); with…
 *     ```
       if ( current_user_can('manage_options') ) {
               define ('WPLANG', '');
           } else {
               define ('WPLANG', 'fi');}
       ```
   
 * …but i get the error…
    Fatal error: Call to undefined function current_user_can()
   in /home/oulunosast/domains/oulunosasto.fi/public_html/wp/wp-config.php on line
   76
 * I don’t know too much about coding, but it looks like current_user_can() is not
   global. Is it safe to try and make this known in the wp-conf.php script?

The topic ‘Different dashboard language for admin’ is closed to new replies.

## Tags

 * [languages](https://wordpress.org/support/topic-tag/languages/)

 * 0 replies
 * 1 participant
 * Last reply from: [sennomo](https://wordpress.org/support/users/sennomo/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/different-dashboard-language-for-admin/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
