jandres
Forum Replies Created
-
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormSolved installing another user registration:
https://es.ww.wp.xz.cn/plugins/user-registration/Solved:
/Hide default registerform/
.ur-frontend-form .description {
display: none !important;}
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormHello,
Thanks for the answer, but is not helpful. I know how to translate in diferent languages in functions.php. I did it for other stuff of woocommerce and is working, for each lang. But it not work with your Form. So, if this not work, what can i do? ITs the simpliest code to test ireplace can access it. But Not.
add_filter( 'gettext', 'register_text' ); add_filter( 'ngettext', 'register_text' ); function register_text( $translated ) { $translated = str_ireplace( 'Nombre', 'Name', $translated ); return $translated; }Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormHi, Thanks for the answer.
I need to translate according the 4 languages we have. And we expect more in the future.
This:
a:7:{i:0;a:7:{s:4:”name”;s:8:”username”;s:5:”label”;s:17:”Nombre de usuario”;s:13:”admin_tooltip”;s:209:”Este campo está protegido ya que es necesario para que el formulario de registro funcione correctamente. Puedes activarlo/desactivarlo desde el escritorio de WP > WooCommerce > Ajustes > Cuentas y privacidad.”;s:4:”type”;s:4:”text”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:8:”reserved”;b:1;}i:1;a:6:{s:4:”name”;s:10:”first_name”;s:5:”label”;s:6:”Nombre”;s:4:”type”;s:4:”text”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:7:”show_in”;a:2:{s:8:”settings”;b:0;s:19:”become_an_affiliate”;b:0;}}i:2;a:6:{s:4:”name”;s:9:”last_name”;s:5:”label”;s:8:”Apellido”;s:4:”type”;s:4:”text”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:7:”show_in”;a:2:{s:8:”settings”;b:0;s:19:”become_an_affiliate”;b:0;}}i:3;a:8:{s:4:”name”;s:5:”email”;s:5:”label”;s:33:”Dirección de correo electrónico”;s:13:”admin_tooltip”;s:107:”Este campo está protegido ya que es obligatorio para que el formulario de registro funcione correctamente.”;s:4:”type”;s:5:”email”;s:10:”validation”;s:5:”email”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:8:”reserved”;b:1;}i:4;a:7:{s:4:”name”;s:8:”password”;s:5:”label”;s:11:”Contraseña”;s:13:”admin_tooltip”;s:209:”Este campo está protegido ya que es necesario para que el formulario de registro funcione correctamente. Puedes activarlo/desactivarlo desde el escritorio de WP > WooCommerce > Ajustes > Cuentas y privacidad.”;s:4:”type”;s:8:”password”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:8:”reserved”;b:1;}i:5;a:8:{s:4:”name”;s:12:”privacy_text”;s:5:”label”;s:187:”Tus datos personales se utilizarán para procesar tu pedido, mejorar tu experiencia en esta web, gestionar el acceso a tu cuenta y otros propósitos descritos en nuestra [privacy_policy].”;s:13:”admin_tooltip”;s:244:”Puedes cambiar el contenido de este párrafo desde el Escritorio de WP > WooCommerce > Ajustes > Cuentas y privacidad. El párrafo será visible cuando elijas una página de política de privacidad en el escritorio de WP > Ajustes > Privacidad.”;s:5:”class”;s:31:”woocommerce-privacy-policy-text”;s:4:”type”;s:9:”paragraph”;s:7:”enabled”;b:1;s:8:”reserved”;b:1;s:8:”editable”;b:0;}i:6;a:8:{s:4:”name”;s:5:”terms”;s:5:”label”;s:54:”He leído y estoy de acuerdo con los [terms] de la web”;s:11:”admin_label”;s:41:”¿Han sido aceptados lo términos de uso?”;s:4:”type”;s:8:”checkbox”;s:11:”label_class”;s:11:”terms-label”;s:7:”enabled”;b:1;s:8:”required”;b:1;s:7:”show_in”;a:2:{s:8:”settings”;b:0;s:19:”become_an_affiliate”;b:0;}}}
Forum: Plugins
In reply to: [Contasimple] Impossible to translateThanks for the answer. My site have 4 languages, so, I need to adapt it in different languages too.
Another approach? Thanks
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormThis should work too, but nothing. Im always cleaning my caché too.
function mp_filter( $result ) {
$search = ‘Nombre’;
$replacewith = ‘Name’;
return str_replace( $search, $replacewith, $result );
}
add_filter( ‘yith_wcaf_affiliate_dashboard’, ‘mp_filter’, 999, 2 );Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormThanks,
Yes, I tried with 999 and nothing. Somehow, str_replace and str_ireplace can’t access to shortcode/registerform.
Any idea? There is another approach for Yith register form?
The website: Affiliate Desktop | GeoCats
Thanks
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Impossible to translate Registration FormThank you for the answer,
I becoming crazy… I have 4 languages in my site, I need to translate it, but the usual ways dont work, I will start fro the beginning:
add_filter( 'gettext', 'register_text' ); add_filter( 'ngettext', 'register_text' ); function register_text( $translated ) { $translated = str_ireplace( 'Nombre', 'Name', $translated ); return $translated; }That should work. But don’t. Can you help me?
Thanks
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Dashbord doesn´t show Affiliate NamesHi, check at the top of the page, screen options. Activate the 1st checkbox Afiliate.
Hope it helps
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Registration form not translatedThanks!
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Registration form not translatedThanks, I have 4 languages, i install it and now the registration form, the labels only show in spanish, no matter if I switch the languages. Following a lot of time, I found it in the database as String, all together. I thoug about to change it via functions, but is not the most pretty solution. Your solution can be working in multilingual wordpress? thanks
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Registration form not translatedHola Marc,
Can you assist me?, I have the same issue.