FreiChat related discussions
Translation does not work

In Version 6.1.1 of freichat the translate function does not work. No matter which language is selected, the text is always displayed as it was typed.

In Version 6.1.1 of freichat the translate function does not work. No matter which language is selected, the text is always displayed as it was typed.

Do you see any errors related to FreiChatX in the error console when you click on a particular language(Download and install firebug to check errors)

Do you see any errors related to FreiChatX in the error console when you click on a particular language(Download and install firebug to check errors)
Necessity is the mother of all inventions!

Hi i selected Spanish Language in admin but the translatios is incomplete, many messages still appear in english, can you please indicate which file needs to be midified in order to translate the rest, i will gladly send you the translated file when finished for future releases.

Hi i selected Spanish Language in admin but the translatios is incomplete, many messages still appear in english, can you please indicate which file needs to be midified in order to translate the rest, i will gladly send you the translated file when finished for future releases.

The language files are a bit of a mess.

Compare to the english.php

Lots of lines are missing, wrong apostrophes used and spaces instead of  

I'm going to try to correct it tomorrow ... too late tonight ...

The language files are a bit of a mess. Compare to the english.php Lots of lines are missing, wrong apostrophes used and spaces instead of   I'm going to try to correct it tomorrow ... too late tonight ...

I have managed to get the Spanish language working.

I've added it below.
There is however on small problema ... "I am Available" is hardcoded into the client/main.php file. I deleted the


removing the box altogether rather than spend time trying to fix it.

<?php //FreiChatX - Spanish language
//English is the primary language
//cb->chatbox
//g->guest
//Do not use space but nbsp;
//If you have copied this file and you are making your own
//language then please write in the format similar to
//english_informal.php

$frei_trans['cb_head'] = 'Usuarios';
$frei_trans['g_prefix'] = 'Invitados-';
$frei_trans['pwdby'] = ' ';
$frei_trans['noline'] = 'No hay nadie en linea';
$frei_trans['noperms'] = 'Por favor inicie sesión!';
$frei_trans['on_offline'] = 'Recuperando: Usuario..Lista...
Consultando base de datos';
$frei_trans['go_online'] = 'Disponible';
$frei_trans['go_offline'] = 'Desconectado';
$frei_trans['go_invisible'] = 'Invisible';
$frei_trans['go_busy'] = 'Ocupado';
$frei_trans['newmesg'] = 'Nuevo mensaje de';
$frei_trans['restore_drag_pos'] = 'Recuperar posiciones';
$frei_trans['status_txt'] = 'Cambiar estado';
$frei_trans['opt_txt'] = 'Opciónes adicionales';
$frei_trans['onOfflinemesg'] = 'Click para chatear!';

$frei_trans['plugin_transdisable'] = 'Deshabilitar';
$frei_trans['plugin_trans_orig'] = 'Mensaje original:';

$frei_trans['titles_translate'] = 'Traducir';
$frei_trans['titles_clrcht'] = 'Borrar el historial de chat';
$frei_trans['titles_upload'] = 'Enviar archivo';
$frei_trans['titles_smiley'] = 'Insertar smiley';
$frei_trans['titles_save'] = 'Guardar chat historial';
$frei_trans['titles_mail'] = 'Enviar conversación por email';

$frei_trans['status_online'] = 'Disponible';
$frei_trans['status_busy'] = 'Ocupado';
$frei_trans['status_invisible'] = 'Invisible';
$frei_trans['status_offline'] = 'Desconectado';
$frei_trans['status_default'] = 'Estoy disponible';

$frei_trans['status_txt_online'] = 'Disponible';
$frei_trans['status_txt_busy'] = 'Ocupado';
$frei_trans['status_txt_invisible'] = 'Invisible';
$frei_trans['status_txt_offline'] = 'Desconectado';
$frei_trans['status_txt_default'] = 'Estoy disponible';

$frei_trans['chatHistoryNotFound'] = '¡No se encontró el historial de chats!';
$frei_trans['chatHistoryDeleted'] = '¡Historial de chats borrado!';

$frei_trans['maximize'] = 'Maximizar';
$frei_trans['minimize'] = 'Minimizar';

$frei_trans['closeChatBox_text'] = 'Cerrar Ventana de Chat';
$frei_trans['deleteChatHistory'] = 'Borrar el historial de chats';

$frei_trans['set_custom_mesg'] = 'Conjunto de mensajes personalizados:';

$frei_trans['chat_room_title'] = 'Salas de Chat';

$frei_trans['chat_message_me'] = 'Mi';
return 1;
?>

I have managed to get the Spanish language working. I&#039;ve added it below. There is however on small problema ... &quot;I am Available&quot; is hardcoded into the client/main.php file. I deleted the &amp;lt;div&amp;gt; removing the box altogether rather than spend time trying to fix it. &amp;lt;?php //FreiChatX - Spanish language //English is the primary language //cb-&amp;gt;chatbox //g-&amp;gt;guest //Do not use space but nbsp; //If you have copied this file and you are making your own //language then please write in the format similar to //english_informal.php $frei_trans[&#039;cb_head&#039;] = &#039;Usuarios&#039;; $frei_trans[&#039;g_prefix&#039;] = &#039;Invitados-&#039;; $frei_trans[&#039;pwdby&#039;] = &#039;&amp;nbsp;&#039;; $frei_trans[&#039;noline&#039;] = &#039;No&amp;nbsp;hay&amp;nbsp;nadie&amp;nbsp;en&amp;nbsp;linea&#039;; $frei_trans[&#039;noperms&#039;] = &#039;Por&amp;nbsp;favor&amp;nbsp;inicie&amp;nbsp;sesi&amp;oacute;n!&#039;; $frei_trans[&#039;on_offline&#039;] = &#039;Recuperando: Usuario..Lista...&amp;lt;br/&amp;gt;Consultando base de datos&#039;; $frei_trans[&#039;go_online&#039;] = &#039;Disponible&#039;; $frei_trans[&#039;go_offline&#039;] = &#039;Desconectado&#039;; $frei_trans[&#039;go_invisible&#039;] = &#039;Invisible&#039;; $frei_trans[&#039;go_busy&#039;] = &#039;Ocupado&#039;; $frei_trans[&#039;newmesg&#039;] = &#039;Nuevo&amp;nbsp;mensaje&amp;nbsp;de&#039;; $frei_trans[&#039;restore_drag_pos&#039;] = &#039;Recuperar&amp;nbsp;posiciones&#039;; $frei_trans[&#039;status_txt&#039;] = &#039;Cambiar&amp;nbsp;estado&#039;; $frei_trans[&#039;opt_txt&#039;] = &#039;Opci&amp;oacute;nes&amp;nbsp;adicionales&#039;; $frei_trans[&#039;onOfflinemesg&#039;] = &#039;Click&amp;nbsp;para&amp;nbsp;chatear!&#039;; $frei_trans[&#039;plugin_transdisable&#039;] = &#039;Deshabilitar&#039;; $frei_trans[&#039;plugin_trans_orig&#039;] = &#039;Mensaje&amp;nbsp;original:&#039;; $frei_trans[&#039;titles_translate&#039;] = &#039;Traducir&#039;; $frei_trans[&#039;titles_clrcht&#039;] = &#039;Borrar&amp;nbsp;el&amp;nbsp;historial&amp;nbsp;de&amp;nbsp;chat&#039;; $frei_trans[&#039;titles_upload&#039;] = &#039;Enviar&amp;nbsp;archivo&#039;; $frei_trans[&#039;titles_smiley&#039;] = &#039;Insertar&amp;nbsp;smiley&#039;; $frei_trans[&#039;titles_save&#039;] = &#039;Guardar&amp;nbsp;chat&amp;nbsp;historial&#039;; $frei_trans[&#039;titles_mail&#039;] = &#039;Enviar&amp;nbsp;conversaci&amp;oacute;n&amp;nbsp;por&amp;nbsp;email&#039;; $frei_trans[&#039;status_online&#039;] = &#039;Disponible&#039;; $frei_trans[&#039;status_busy&#039;] = &#039;Ocupado&#039;; $frei_trans[&#039;status_invisible&#039;] = &#039;Invisible&#039;; $frei_trans[&#039;status_offline&#039;] = &#039;Desconectado&#039;; $frei_trans[&#039;status_default&#039;] = &#039;Estoy&amp;nbsp;disponible&#039;; $frei_trans[&#039;status_txt_online&#039;] = &#039;Disponible&#039;; $frei_trans[&#039;status_txt_busy&#039;] = &#039;Ocupado&#039;; $frei_trans[&#039;status_txt_invisible&#039;] = &#039;Invisible&#039;; $frei_trans[&#039;status_txt_offline&#039;] = &#039;Desconectado&#039;; $frei_trans[&#039;status_txt_default&#039;] = &#039;Estoy&amp;nbsp;disponible&#039;; $frei_trans[&#039;chatHistoryNotFound&#039;] = &#039;&amp;iexcl;No&amp;nbsp;se&amp;nbsp;encontr&amp;oacute;&amp;nbsp;el&amp;nbsp;historial&amp;nbsp;de&amp;nbsp;chats!&#039;; $frei_trans[&#039;chatHistoryDeleted&#039;] = &#039;&amp;iexcl;Historial&amp;nbsp;de&amp;nbsp;chats&amp;nbsp;borrado!&#039;; $frei_trans[&#039;maximize&#039;] = &#039;Maximizar&#039;; $frei_trans[&#039;minimize&#039;] = &#039;Minimizar&#039;; $frei_trans[&#039;closeChatBox_text&#039;] = &#039;Cerrar&amp;nbsp;Ventana&amp;nbsp;de&amp;nbsp;Chat&#039;; $frei_trans[&#039;deleteChatHistory&#039;] = &#039;Borrar&amp;nbsp;el&amp;nbsp;historial&amp;nbsp;de&amp;nbsp;chats&#039;; $frei_trans[&#039;set_custom_mesg&#039;] = &#039;Conjunto&amp;nbsp;de&amp;nbsp;mensajes&amp;nbsp;personalizados:&#039;; $frei_trans[&#039;chat_room_title&#039;] = &#039;Salas&amp;nbsp;de&amp;nbsp;Chat&#039;; $frei_trans[&#039;chat_message_me&#039;] = &#039;Mi&#039;; return 1; ?&amp;gt;
124
4
0
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft