Advanced Contact Form

Started by Joselin de Joselandia, March 25, 2009, 05:39:57 PM

Previous topic - Next topic

Joselin de Joselandia

Hola He instalado este MOD

http://custom.simplemachines.org/mods/index.php?mod=1352

PERO MI FORO ESTÁ EN ESPAÑOL y las etiquetas de los formularios no parecen. Si lo cambio a Inglés, pero claro no es plan...

Como puedo hacer para q funcione con el foro en español...

lucas-ruroken

Pues facil

agarras:
Themes/tutheme/language/modifications.spanish.php

y buscas:
Quote?>

añadis antes:
Quote$txt['contact'] = 'contact';
$txt['contact_form_default_dns_check'] = 'domain must have valid A or MX record';
$txt['contact_form_default_email_sender'] = 'Sender email address if none provided:';
$txt['contact_form_default_guest_access'] = 'no guest access';
$txt['contact_form_default_member_access'] = 'no member access';
$txt['contact_form_default_name'] = 'Sender name if none provided:';
$txt['contact_form_default_name_default'] = 'Anonymous';
$txt['contact_form_default_require_email'] = 'use email address settings below';
$txt['contact_form_default_require_name'] = 'use sender name settings below';
$txt['contact_form_default_require_subject'] = 'use subject line settings below';
$txt['contact_form_default_subject'] = 'Subject line if none provided:';
$txt['contact_form_default_subject_default'] = '(no subject)';
$txt['contact_form_default_tab_label'] = 'CONTACT';
$txt['contact_form_dest_email_addr'] = 'Send contact form replies to this email address:';
$txt['contact_form_display_title'] = 'Contact form page title:';
$txt['contact_form_enable_guest_access'] = 'Allow guest access:';
$txt['contact_form_enable_member_access'] = 'Allow member access:';
$txt['contact_form_error_invalid_email'] = 'Invalid email address entered.';
$txt['contact_form_error_no_email'] = 'No email address entered.';
$txt['contact_form_error_no_message'] = 'No message entered.';
$txt['contact_form_error_no_name'] = 'No name entered.';
$txt['contact_form_error_no_subject'] = 'No subject entered.';
$txt['contact_form_error_unable_to_send'] = 'Send mail failed. We were unable to send your message';
$txt['contact_form_field_optional'] = '(optional)';
$txt['contact_form_field_optional_email'] = '(if you want a reply)';
$txt['contact_form_field_required'] = '(required)';
$txt['contact_form_label_default'] = 'default: ';
$txt['contact_form_label_edit'] = '[edit]';
$txt['contact_form_label_email'] = 'Email ';
$txt['contact_form_label_ip'] = "\r\n\r\n-- \r\nIP: ";
$txt['contact_form_label_message'] = 'Message ';
$txt['contact_form_label_name'] = 'Name ';
$txt['contact_form_label_rdns'] = "\r\nrDNS: ";
$txt['contact_form_label_sender'] = "\r\nSender: ";
$txt['contact_form_label_status_email'] = 'Email: ';
$txt['contact_form_label_status_name'] = 'Name: ';
$txt['contact_form_label_status_separator'] = "------\r\n\r\n";
$txt['contact_form_label_status_subject'] = 'Subject: ';
$txt['contact_form_label_subject'] = 'Subject ';
$txt['contact_form_label_submit_button'] = 'Send Message';
$txt['contact_form_label_unchecked'] = 'unchecked: ';
$txt['contact_form_label_verification'] = 'Verification ';
$txt['contact_form_message_sent'] = 'Message sent. Thank you for your comments.';
$txt['contact_form_mods_cat'] = 'Contact Form';
$txt['contact_form_require_email'] = 'Require email address:';
$txt['contact_form_require_name'] = 'Require sender name:';
$txt['contact_form_require_subject'] = 'Require subject line:';
$txt['contact_form_result_error'] = 'Error';
$txt['contact_form_result_message_sent'] = 'Message Sent';
$txt['contact_form_result_send_mail_failed'] = 'Send Mail Failed';
$txt['contact_form_sender_email_dont_use_form'] = 'Don\'t use contact form email address as sender email address:';
$txt['contact_form_sender_email_dont_use_form_default'] = 'use email address from form if provided';
$txt['contact_form_sender_is_guest'] = 'guest';
$txt['contact_form_sender_name_dont_use_form'] = 'Don\'t use contact form name as sender name:';
$txt['contact_form_sender_name_dont_use_form_default'] = 'use name from form if provided';
$txt['contact_form_sender_subject_dont_use_form'] = 'Don\'t use contact form subject line as sender subject line:';
$txt['contact_form_sender_subject_dont_use_form_default'] = 'use subject line from form if provided';
$txt['contact_form_skip_dns_check'] = 'Skip sender email address domain record check:';
$txt['contact_form_subject_prefix'] = 'Subject line optional prefix:';
$txt['contact_form_subject_prefix_default'] = 'no prefix';
$txt['contact_form_tab_label'] = 'Contact form tab label:';
$txt['contact_form_title']='Contact Form';

Asi el mod te aparecera cuando selecciones el español
pero este mod se vera en ingles
si queres que se vea en español, traducis todo lo que va despues del =

;D
saludos ^^
Adk Portal 3.1 is coming....

Design your universe!

Joselin de Joselandia

Ok un millón de gracias, lo probaré

lucas-ruroken

Adk Portal 3.1 is coming....

Design your universe!

Joselin de Joselandia

Me dice
Incorrect key file for table
Archivo Subs.php
Línea: 631

italo_anonimo

escribe tu traduccion aqui para ver el error.

Joselin de Joselandia

No entiendo, me puedes especificar lo que necesitas por favor?

italo_anonimo

imagino que hiceste la traduccion que te recomendo lucas-ruroken, recuerda que debes traducir el file de lenguaje que uses .. por modifications.spanish.php o spanish_es.php etc etc recuerda agregar ese codigo (la traduccion) antes ?>


Joselin de Joselandia

#8
pues igual el error es por eso, lo subi tal cual para ver si fucionaba pero con el nombre que tenia en el servidor modifications.spanish.php, no spanish_es.php


.....................

Advertisement: