setting Lang in phpMyAdmin

View: New views
3 Messages — Rating Filter:   Alert me  

setting Lang in phpMyAdmin

by Donn Washburn :: Rate this Message:

| View Threaded | Show Only this Message

Hey Group;

I have now read the FAQs and Docs and to this time I can not get
phpMyAdmin to not come up passed the error message.

phpMyAdmin - error
Could not load any language, please check your language settings and folder

I have tried about every combination of en, en-us,  en-8859-1 (as in
libraries/select_lang.lib.php) and iso-8859-1 or utf-8

No luck with /srv/www/htdocs/phpMyAdmin/config/config.inc.php or
just /srv/www/htdocs/phpMyAdmin/config.inc.php even with permissions set
to 777 (as a test).

any clues where I am going wrong?

  * Language and charset conversion settings
  */
// Default language to use, if not browser-defined or user-defined
$cfg['DefaultLang'] = 'en-us';   # tried with "en"

// Force: always use this language - must be defined in
//        libraries/select_lang.lib.php
$cfg['Lang']     = 'en-iso-8859-1';  # tried with utf-8 and iso-8859-1

// Default charset to use for recoding of MySQL queries, does not take
// any effect when charsets recoding is switched off by
// $cfg['AllowAnywhereRecoding'] or in language file
// (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
$cfg['DefaultCharset'] = 'iso-8859-1';  #I feel this is correct

// Allow charset recoding of MySQL queries, must be also enabled in language
// file to make harder using other language files than unicode.
// Default value is FALSE to avoid problems on servers without the iconv
// extension and where dl() is not supported
$cfg['AllowAnywhereRecoding'] = FALSE;

// You can select here which functions will be used for charset conversion.
// Possible values are:
//  auto   - automatically use available one (first is tested iconv,then
//           recode)
//  iconv  - use iconv or libiconv functions
//  recode - use recode_string function
$cfg['RecodingEngine'] = 'auto';

--
73 de Donn Washburn
Ham Callsign N5XWB   Email: " n5xwb@... "
307 Savoy St.        HAMs : " n5xwb@... "
Sugar Land, TX 77478 BMW MOA #: 4146 - Ambassador
LL# 1.281.242.3256   VoIP via Skype: n5xwbg
       " http://counter.li.org " #279316

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Phpmyadmin-users mailing list
Phpmyadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-users

Re: setting Lang in phpMyAdmin

by Marc Delisle :: Rate this Message:

| View Threaded | Show Only this Message

Normally you should not use
$cfg['Lang']
this is used to force a language. Try exactly this:

$cfg['DefaultLang'] = 'en-iso-8859-1';

// Force: always use this language - must be defined in
//        libraries/select_lang.lib.php
// $cfg['Lang']     = 'en-iso-8859-1';


Donn Washburn a écrit :

> Hey Group;
>
> I have now read the FAQs and Docs and to this time I can not get
> phpMyAdmin to not come up passed the error message.
>
> phpMyAdmin - error
> Could not load any language, please check your language settings and folder
>
> I have tried about every combination of en, en-us,  en-8859-1 (as in
> libraries/select_lang.lib.php) and iso-8859-1 or utf-8
>
> No luck with /srv/www/htdocs/phpMyAdmin/config/config.inc.php or
> just /srv/www/htdocs/phpMyAdmin/config.inc.php even with permissions set
> to 777 (as a test).
>
> any clues where I am going wrong?
>
>   * Language and charset conversion settings
>   */
> // Default language to use, if not browser-defined or user-defined
> $cfg['DefaultLang'] = 'en-us';   # tried with "en"
>
> // Force: always use this language - must be defined in
> //        libraries/select_lang.lib.php
> $cfg['Lang']     = 'en-iso-8859-1';  # tried with utf-8 and iso-8859-1
>
> // Default charset to use for recoding of MySQL queries, does not take
> // any effect when charsets recoding is switched off by
> // $cfg['AllowAnywhereRecoding'] or in language file
> // (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
> $cfg['DefaultCharset'] = 'iso-8859-1';  #I feel this is correct
>
> // Allow charset recoding of MySQL queries, must be also enabled in language
> // file to make harder using other language files than unicode.
> // Default value is FALSE to avoid problems on servers without the iconv
> // extension and where dl() is not supported
> $cfg['AllowAnywhereRecoding'] = FALSE;
>
> // You can select here which functions will be used for charset conversion.
> // Possible values are:
> //  auto   - automatically use available one (first is tested iconv,then
> //           recode)
> //  iconv  - use iconv or libiconv functions
> //  recode - use recode_string function
> $cfg['RecodingEngine'] = 'auto';
>


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Phpmyadmin-users mailing list
Phpmyadmin-users@...
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-users

Re: setting Lang in phpMyAdmin

by bronxgodzilla :: Rate this Message:

| View Threaded | Show Only this Message

Hi Marc
I have had the same error phpMyAdmin error messages after reloading its directory, using standard FTP from the latest file Unzipped unto my local HD.

I followed your directions and put the $cfg statement exactly as you have said, at what appears to be line 90:
if (PMA_langSet($GLOBALS['cfg']['DefaultLang' = 'en-iso-8859-1'])) {
        return true;

Is this correct place? The ERROR messages on the page went Away but now there is naught but a blank page. Reviewing the html source shows lang as 'en-iso-8859-1' but nothing else appears on the screen. I am using php/4.4.7. on Apache.

In my php.ini I have short-tags turned on, since the programs I am attempting to run were written with short tags.

Help, anyone?
Barry

Marc Delisle wrote:
Normally you should not use
$cfg['Lang']
this is used to force a language. Try exactly this:

$cfg['DefaultLang'] = 'en-iso-8859-1';

// Force: always use this language - must be defined in
//        libraries/select_lang.lib.php
// $cfg['Lang']     = 'en-iso-8859-1';


Donn Washburn a écrit :
> Hey Group;
>
> I have now read the FAQs and Docs and to this time I can not get
> phpMyAdmin to not come up passed the error message.
>
> phpMyAdmin - error
> Could not load any language, please check your language settings and folder
>
> I have tried about every combination of en, en-us,  en-8859-1 (as in
> libraries/select_lang.lib.php) and iso-8859-1 or utf-8
>
> No luck with /srv/www/htdocs/phpMyAdmin/config/config.inc.php or
> just /srv/www/htdocs/phpMyAdmin/config.inc.php even with permissions set
> to 777 (as a test).
>
> any clues where I am going wrong?
>
>   * Language and charset conversion settings
>   */
> // Default language to use, if not browser-defined or user-defined
> $cfg['DefaultLang'] = 'en-us';   # tried with "en"
>
> // Force: always use this language - must be defined in
> //        libraries/select_lang.lib.php
> $cfg['Lang']     = 'en-iso-8859-1';  # tried with utf-8 and iso-8859-1
>
> // Default charset to use for recoding of MySQL queries, does not take
> // any effect when charsets recoding is switched off by
> // $cfg['AllowAnywhereRecoding'] or in language file
> // (see $cfg['AvailableCharsets'] to possible choices, you can add your own)
> $cfg['DefaultCharset'] = 'iso-8859-1';  #I feel this is correct
>
> // Allow charset recoding of MySQL queries, must be also enabled in language
> // file to make harder using other language files than unicode.
> // Default value is FALSE to avoid problems on servers without the iconv
> // extension and where dl() is not supported
> $cfg['AllowAnywhereRecoding'] = FALSE;
>
> // You can select here which functions will be used for charset conversion.
> // Possible values are:
> //  auto   - automatically use available one (first is tested iconv,then
> //           recode)
> //  iconv  - use iconv or libiconv functions
> //  recode - use recode_string function
> $cfg['RecodingEngine'] = 'auto';
>