Hi, I tried to translate Alert Boxes (OWNER_CANT_VOTE) and (GUEST_CANT_VOTE) on "scripts.js" file but I just get an error (voting button stops responding), do I need to change it somewhere else?
----------------------------------------------------------------------------------------------
if($('chrono_comments_AJAX_response_temp').getText() == 'pos0owner'){
alert(OWNER_CANT_VOTE);
----------------------------------------------------------------------------------------------
Thanks for your help
Hi Martegi,
you need to translate them in the language files, look at some translations at the translations forums here
regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi, Thanks a lot for your help!
I did change the 3 .ini files but since the beginning (before changing the .ini files) the alert boxes were reading "OWNER_CANT_VOTE" instead of the text following the equal sign in the .ini file, meaning: "OWNER_CANT_VOTE=You can not vote because you are the owner or you already voted!" so the alert boxes are giving the raw "OWNER_CANT_VOTE" which is entered in the script.js file, so even if I translate the .ini file this text does not change, that's why I tried to change it directly into de .js file. Could it be that "en-GB.plg_content_chronocomments.ini" it's not placed on its correct path or so?
Again, thanks a lot for your help!
Hi, Can I see your page link somewhere ?
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I see other texts are translated, there is some problem with those couple, where is the language files you currently have on your server ? can you download them directly from your server where they are and paste the contents here ?
regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi, two of the ini files are working just fine, as you noticed, so I'm just adding here the contents and path of the one that is not.
"en-GB.plg_content_chronocomments.ini" and "es-ES.plg_content_chronocomments.ini" both with the same content (I transalted the original en-GB file just in case, when I saw the es-Es... file wasn't working) are placed in their corresponding "/public_html/language/" folder, then together in "/public_html/plugins/content/" and also together in "/public_html/components/com_chronocomments/"... sorry for all the duplications.
This is the content of both en-GB an es-Es files
--------------------------------------------------------------------------------------------
COMMENTS=Comentarios
NAME=Nombre
EMAIL_VERIFICATIONS_REPLIES=Email (Para Verificaciones y Respuestas)
URL=URL
CODE=Código
SUBMIT_COMMENT=Enviar Comentario
WORKING=Trabajando....
FINISHED=Terminado
FAILED=Falló
CANCEL=Cancelar
SAVE=Guardar
POST_REPLY=Publicar Respuesta
EDIT=Editar
UNPUBLISH=Eliminar
READ N COMMENTS=Leer {n} Comentarios... >>
ENTER_NAME=Por Favor Ingrese su Nombre
NAME_LENGTH=El Nombre no debe exceder 50 Caracteres
ENTER_COMMENT=Por Favor Ingrese su Comentario!
ENTER_EMAIL=Necesitamos un Email Válido para Verificaciones!
URL_HTTP=Su URL debe contener http://
WRONG_CODE=Ha ingresado un código de seguridad incorrecto, por favor intente nuevamente!
NOT_VERIFIED=Gracias, Le hemos enviado un Email de verificación con un enlace, por favor de click en el enlace para verificar su comentario!
NOT_PUBLISHED=Gracias, su comentario será publicado una vez que haya sido revisado.
UNPUBLISHED_SUCCESS=Eliminado correctamente!
DATETIMEFORMAT=%A %d %B %Y, %H:%M
SHOW FORM=Mostrar/Ocultar Forma de Comentarios
GUEST_CANT_VOTE=Necesita iniciar sesión para Votar
OWNER_CANT_VOTE=No puede Votar en sus propios comentarios o ya ha votado previamente!
PREVIOUS=<<Anterior
NEXT=Siguiente>>
----------------------------------------------------------------------------------------------------------
Thanks!
Hola Martegi,
the language files should be under language/en-GB/ or language/es-ES/ or try to put them in administrator/language/es-ES/
try to edit the translation of those 2 lines only too, make them one word and test with this!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
well... I tried the way you told me and it still does not work... I guess I'm gonna have to give up on that. Is there a way to take off the voting buttons or the complete voting system?, or at least to hide it?
Thanks again for your help!
Hi Martegi, you can remove them from the template file under the components/com_chronocomments/templates/
does the translation work fine for English ? I mean those 2 strings!
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max,
Thanks a lot for the info. I greatly appreciate your help. About those two strings, No, it does not work at all, not even with the original file included in the installation package, the alert boxes always give a raw "OWNER_CANT_VOTE" and "GUEST_CANT_VOTE" as is written in the .js file, somehow the .ini file seems to have any effect on the alert boxes.
Regards
Hi Martegi,
I really can't find any explanation for this issues! :?
Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi Max!
Well, maybe later... I'll keep on trying and let you know if I find the reason.
Thanks a lot for your help!!
Regards