Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Mr.Easybb (1587)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Bloodbath (745)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Rukiafan (533)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Dom (513)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
puppycheese (446)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
pedro (330)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Neymar (301)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Hitsu (281)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 
Flora (275)
add translation for my language chat Vote_lcapadd translation for my language chat Voting_baradd translation for my language chat Vote_rcap 


add translation for my language chat

jucaresejucarese
Status : No status yet...

Posts : 2
Join date : 2015-11-20
Fri 20 Nov 2015, 20:31
I understand reading translations page, the JavaScript translation is added to the main configuration javascript chat, is it?
Code:
var avacweb_chat_config = {
      version : '2-0',
      chat_title : 'Pruebas punbb',
      stylesheet : 'http://chat.avacweb.net/awc_2-0.css',
      allow_private_messaging : 1,
      allow_user_resize : 1,
      custom_placement : null,
      commands : {},
      tabs : {},
      filters : {},
      allow_copyrights : 0, //please be kind and allow AWC to place small discreet copyrights and backlink on your forum.
      // DO NOT TOUCH ANYTHING BELOW
      events:{},add_event:function(t,f) {t in this.events?this.events[t].push(f):this.events[t]=[f]}};
      document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script"></sc' + 'ript>');
// END OF AWC CONFIG

window.avacweb_chat_translation = {
  'log in' : 'Conectar',
  'log out': 'Desconectar',
  'chat'  : 'Chat',
  'on'    : 'Activo',
  'off'    : 'Desactivado,
  'close'  : 'Cerrado',
  'smilies': 'Smilies',
  'colors' : 'Colores',
  'send'  : 'Enviar',
  'archives' : 'Archivos',
  'message': 'Mensaje',
  'refresh': 'Actualizar',
  'you are disconnected. click log in to join the chat.' : 'Estas desconectado haz click en conectarte para entrar al chat.',
  'user options' : 'Opciones personales',
  'color' : 'Color',
  'bold' : 'Negrita',
  'underline' : 'Subrayado',
  'strike' : 'Tachada',
  'italic' : 'Italica',
  'private message' : 'Mensaje privado',
  'loading smilies...' : 'Cargando smiles...',
  'this command is not available or does not exist' : 'Este comando no está disponible o no existe',
  'user not found' : 'Usuario no encontrado',
  'view profile' : 'Ver perfil',
  'send private message' : 'Enviar mensaje privado',
  'kick from chat' : 'Patear del chat',
  'remove from moderators' : 'Elimidado por los moderadores',
  'send friend request' : 'Envia respuesta a un amigo',
  'add to moderators' : 'Añadir a los moderadores',
  'away' : 'Fuera',
  'reading' : 'Leyendo',
  'start private conversation' : 'enviar conversacion privada',
  'conversation with' : 'Conversar con..',
  'public' : 'Publico',
  'started by' : 'Empezado por',
  'add a new tab' : 'Añadir nueva pestaña',
  'private message' : 'Mensaje privado',
  'sorry this command is only for staff.' : 'Este comando es solo para el staff.',
  'no banned users to display.' : 'No Hay usuarios baneados para mostrar',
  'tab names must be more than 2 characters.' : 'El nombre de la pestaña debe contener al menos dos caracteres.',
  'choose a name for the new tab' : 'Cambiar nombre a la nueva pestaña',
  'newest first' : 'Lo mas nuevo al principio',
  'plain text' : 'Texto sin formato',
  'mod' : 'Moderador'
};

this is so ?, I added it there, and then the chat is no longer listed this is so ?, I'm putting the codes in a forum for testing


http://pruebaspunbb.activoforo.com/
Firefox 42.0
Andrei34Andrei34
Status : yyy

Posts : 12
Join date : 2015-09-04
Fri 20 Nov 2015, 22:11
Replace your code with:
Code:
[panda=js]var avacweb_chat_config = {
      version : '2-0',
      chat_title : 'Pruebas punbb',
      stylesheet : 'http://chat.avacweb.net/awc_2-0.css',
      allow_private_messaging : 1,
      allow_user_resize : 1,
      custom_placement : null,
      commands : {},
      tabs : {},
      filters : {},
      allow_copyrights : 0, //please be kind and allow AWC to place small discreet copyrights and backlink on your forum.
      // DO NOT TOUCH ANYTHING BELOW
      events:{},add_event:function(t,f) {t in this.events?this.events[t].push(f):this.events[t]=[f]}};
      document.write('<script type="text/javascript" src="http://chat.avacweb.net/v' + avacweb_chat_config.version + '.js" id="achat_script"></sc' + 'ript>');
// END OF AWC CONFIG
window.avacweb_chat_translation = {
  'log in' : 'Conectar',
  'log out': 'Desconectar',
  'chat'  : 'Chat',
  'on'    : 'Activo',
  'off'    : 'Desactivado',
  'close'  : 'Cerrado',
  'smilies': 'Smilies',
  'colors' : 'Colores',
  'send'  : 'Enviar',
  'archives' : 'Archivos',
  'message': 'Mensaje',
  'refresh': 'Actualizar',
  'you are disconnected. click log in to join the chat.' : 'Estas desconectado haz click en conectarte para entrar al chat.',
  'user options' : 'Opciones personales',
  'color' : 'Color',
  'bold' : 'Negrita',
  'underline' : 'Subrayado',
  'strike' : 'Tachada',
  'italic' : 'Italica',
  'private message' : 'Mensaje privado',
  'loading smilies...' : 'Cargando smiles...',
  'this command is not available or does not exist' : 'Este comando no está disponible o no existe',
  'user not found' : 'Usuario no encontrado',
  'view profile' : 'Ver perfil',
  'send private message' : 'Enviar mensaje privado',
  'kick from chat' : 'Patear del chat',
  'remove from moderators' : 'Elimidado por los moderadores',
  'send friend request' : 'Envia respuesta a un amigo',
  'add to moderators' : 'Añadir a los moderadores',
  'away' : 'Fuera',
  'reading' : 'Leyendo',
  'start private conversation' : 'enviar conversacion privada',
  'conversation with' : 'Conversar con..',
  'public' : 'Publico',
  'started by' : 'Empezado por',
  'add a new tab' : 'Añadir nueva pestaña',
  'private message' : 'Mensaje privado',
  'sorry this command is only for staff.' : 'Este comando es solo para el staff.',
  'no banned users to display.' : 'No Hay usuarios baneados para mostrar',
  'tab names must be more than 2 characters.' : 'El nombre de la pestaña debe contener al menos dos caracteres.',
  'choose a name for the new tab' : 'Cambiar nombre a la nueva pestaña',
  'newest first' : 'Lo mas nuevo al principio',
  'plain text' : 'Texto sin formato',
  'mod' : 'Moderador'
};
Mr.EasybbMr.Easybb
Status : Love this site, that's why I'm back each day again... lol Samantha's co-owner now. Well deserved!

Posts : 1587
Join date : 2013-01-04
Sat 21 Nov 2015, 02:29
Basically you had a quoting error on line 22
jucaresejucarese
Status : No status yet...

Posts : 2
Join date : 2015-11-20
Sat 21 Nov 2015, 14:09
OK thanks Mr.Easybb
Sponsored content