Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Book Image

Mastering phpMyAdmin 2.11 for Effective MySQL Management

Overview of this book

Table of Contents (25 chapters)
Mastering phpMyAdmin 2.11 for Effective MySQL Management
Credits
About the Author
About the Reviewers
Preface

Language Selection


A Language selector appears on the login panel (if any) and on the Home page. The default behavior of phpMyAdmin is to use the language defined in our browser's preferences, if there is a corresponding language file for this version.

The default language used in case the program cannot detect one is defined in config.inc.php in the $cfg['DefaultLang'] parameter with'en-iso-8859-1'. This value can be changed. The possible values for language names are defined in the libraries/select_lang.lib.php script as an array.

Even if the default language is defined, each user (especially on a multi-user installation) can choose his or her preferred language from the selector:

The user's choice will be remembered in a cookie whenever possible.

We can also force a single language by setting the $cfg['Lang'] parameter with a value, such as 'en-iso-8859-1'. Starting with version 2.7.0, another parameter, $cfg['FilterLanguages'], is available. Suppose we want to shorten the list...