Look like you don't have the good locale. You might try installing them. Since your on Ubuntu, this should do the trick:<br><br>(0)<br>apt-get update<br> <br>(1)<br>apt-get install locales <br><br>(2)<br>apt-get install language-pack-fr-base
<br><br>That should generate the required locales... you might want to validate by doing a locale-gen and verify that fr_CA is in the list and is "up-to-date"<br><br>Pascal Ch.<br><br><br><div><span class="gmail_quote">
On 8/30/07, <b class="gmail_sendername">Jeff Schallenberg</b> <<a href="mailto:schallenberg.jeff@gmail.com">schallenberg.jeff@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 8/30/07, <b class="gmail_sendername">Jeff Schallenberg</b> <<a href="mailto:schallenberg.jeff@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">schallenberg.jeff@gmail.com</a>> wrote:
<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to install the auth server under Ubuntu 7.04</blockquote><div><br>Still trying... and got it almost perfect...<br>My login to postgres required the command "sudo su - postgres", followed by my normal password.
<br><br>All went well, up to the languages page, which shows the warning:<br>"Will allow selecting language to use.
<em>Error message example</em> : <br>
<div>Warning: language.php: Unable to setlocale() to fr, return value: , current locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C; [...]</div>
<p><em>I repeat</em> : This is an example of message you can see in the
top of your working auth-server if language are not set correctly. To
change these values please edit <em>config.php</em> in auth-server install directory. Look for "Available locales" and "Default language" header in config.php."</p><p>So, I edited my config.php to look like this:
<br></p>from config.php ===========================================<br>/**<br> * Available locales (languages)<br> * =============================<br> *<br> * Define the list of locales you want to support.<br> * English, French and German are supported.
<br> *<br> * See below examples<br> */<br>global $AVAIL_LOCALE_ARRAY;<br><br><br>/**<br> * Array of available languages for the user. Each entry must have:<br> * -The language code (the part before the _) be present in wifidog/locales
<br> * -Have the entire locale available in your system locale<br> * OR<br> * -Have a system locale available with only the language (ex: an en locale).<br> * Note that if you specify en_UK and en_US, and have only en available the
<br> * system will NOT warn you that both will have identical results.<br> * Note that even if your system uses locales like fr_CA.UTF8, you do not need<br> * to change this, ifidog will translate for you.<br> *<br> * @todo Setting an array of only one entry should disable the language select
<br> * box.<br> */<br>$AVAIL_LOCALE_ARRAY = array('fr_CA' => 'Français',<br> 'en_US' => 'English',<br> 'de_DE' => 'Deutsch',
<br> 'es_ES' => 'Español',<br> 'pt_BR' => 'Português',<br> 'ja_JP' => '日本語');
<br><br>/**<br><br> * Default language<br> * ================<br> *<br> * Define the default language of the WiFiDOG auth server. The language code<br> * (the part before the _) must be part of the array above (the country
<br> * subcode may differ, and should be set to your country subcode)<br> */<br>define('DEFAULT_LANG', 'fr_CA');<br> =============================================================<br></div>But, even though the file looks good, and after re-starting Ubuntu Server, I still get this error message:
<br><br>"Warning in /classes/Locale.php setCurentLocale: Unable to setlocale()
to parameter: fr_CA. I tried fr_CA.UTF-8, fr_CA, fr.UTF-8, fr, and got
return value: , current locale is: C"<br><br>Vas hier gibst?<br></div>-- <br><span class="sg">- Jeff
</span><br>_______________________________________________<br>WiFiDog mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a>
<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog" target="_blank">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Pascal Charest, Consultant en logiciel libre.<br><a href="http://blog.pacharest.com">http://blog.pacharest.com</a>