Ajna_Libera
Forum Replies Created
-
Forum: Plugins
In reply to: [Themify - WooCommerce Product Filter] “Add new filter” is not workingHi,
To the following email that I received from you, I copy:
“Hi María,Please send us a link and an admin access to your website, so we can check what could cause the issue on your site.
Kind Regards,
Csaba”I sent the following reply 9 days ago:
“Thanks for your reply.
What security guarantees do I have giving an open admin access?”
Forum: Plugins
In reply to: [Themify - WooCommerce Product Filter] “Add new filter” is not workingThe problem persists. I have sent you an email as you advised to.
thanks
EUREKA PRASHANT!!!!
It is obviosly the DIVI THEME that is causing the issue. When in other themes all the buttons and woocommerce notes are in Spanish. I have contacted them, AGAIN, and I’m awaiting for their answer to the problem. I shall keep you posted.
It has been a great (although tough) learning curve and I praise you for your dedication, professionality and support.
TRILLION THANKS!!
María
BTW I have spoken to the hosting tech’ team and, hopefully now they’ll do something to support me… we’ll see…
Let’s see if tomorrow we have some good news.
Have a nice eve’
Well Prashant, I wish I could say the contrary but I’m afraid that this is not working because the issue those users are having is that they didn’t have the list of languages to choose from in Settings/General/site language and I do have the languages.
The problem is that it says that the site is in English, when it is not.
MY SITE IS IN SPANISH and all the es_ES .mo & .po (s) are where they have to be…
Exhausted…
Prashant many thanks for all the endeavour you are showing to help me. I was out of the office the whole day and I’m going to try and apply it now.
I have read the article and one of the things I have already seen in the Cpanel is that the site is said to be a multilanguage site, when it is NOT. Let’s see if I can give you good news in my next message!!
Thanks again!
I have even changed it in the options-general.php directly as you can see here:
https://prntscr.com/ko7oey as it was (in English)
https://prntscr.com/ko7okz as I’ve set it and yet when I go to the WP backend it is the same all story it says the site is in English and does not let me change it to Spanish because even though I chose the option when I press SAVE it takes it back to ENGLISH!I have removed the WPLANG (which WAS SPANISH BY THE WAY) from the wp-config.php file and the only difference is that I now don’t get the message I got before about removing it BUT it keeps the English language on the “site language” window no-matter-what-I-do!! https://prntscr.com/ko6z3w
Anyway, I have WP version 4.9.8 and removing the WPLANG constant from the wp-config.php file is not needed on this version as they say here https://codex.www.ads-software.com/Editing_wp-config.php
FYI I have desactivated all plugins and nothing new happens.
I feel totally powerless with this issue, we have been trying many things and the only thing that worked was when you passed me that code which translated the “add to cart” button. IS THERE SOMETHING WE CAN DO ASAP?
THANKS
- This reply was modified 6 years, 7 months ago by Ajna_Libera.
Hi again!
Please have a look at this prints.
PLEASE NOTE: that this website has never ever been in English since it is a Spanish website only. Therefore, there was never a translation from English to Spanish and viceversa.
CP Panel
You’ll see how everything on the cpanel is in Spanish.https://prntscr.com/knofbj
https://prntscr.com/knofcp
https://prntscr.com/knofckWP-General Settings
I’m unable to change the site language to Spanish on this window. Whatever many times I change it and save the settings, the same amount of times it goes back to ENGLISH…https://prntscr.com/knofcx
https://prntscr.com/knofbhLoco Translate
As you may well see the translation is already on Loco translate, but it is not working. The only thing that has made a difference up-to-now has been the code you sent to me.https://prntscr.com/knofc0
https://prntscr.com/knofcvWHAT CAN WE DO NOW? Surely you’ll agree with me that this is annoying.
- This reply was modified 6 years, 7 months ago by Ajna_Libera.
I checked it and it is all fine and in es_ES
After removing what?
I copy/paste the warning for you:
“Welcome to Loco Translate
The language of this site is English (United States).”what your are mentioning about settings/general I spoke about it with the hosting company because even if I set it in Spanish and save it goes back to English. Below that window there is this note:
“Note: The WPLANG constant in your wp-config.php file is no longer needed.”
so the hosting company told me that was not important “since that constant is no longer needed”…
Good morning Prashant,
I had actually deactivated Loco since it was not doing anything but confusing me with the warning that the website was in English. I have just installed it again, and I find it pretty confusing. I still get the “English site warning”, the woocommerce Spanish files are there but it is not translating the rest of the buttons and notices that still need to be translated.
The only one up-to-now that appears in Spanish is the “a?adir al carrito” one and this is because of the new code you sent to me:
add_filter( ‘woocommerce_product_single_add_to_cart_text’, ‘ps_cart_button_text’ );
function ps_cart_button_text() {
return __( ‘a?adir al carrito’, ‘woocommerce’ );
}
So what would you recommend I do now?
Thanks for your patience and professionality.
- This reply was modified 6 years, 7 months ago by Ajna_Libera.
Why would I want Sweedish?! … I don’t even undertand Sweedish!
- This reply was modified 6 years, 7 months ago by Ajna_Libera.
Great!! I finally see the “A?adir al Carrito” button!!!! and I believe this was done with the newest code you sent
Concerning the other one, I’m getting the following warning
Don’t Panic
The code snippet you are trying to save produced a fatal error on line 6:syntax error, unexpected ‘Cart’’ (T_STRING)
The previous version of the snippet is unchanged, and the rest of this site should be functioning normally as before.after pasting this that you sent last:
add_filter( ‘gettext’, ‘woo_change_texts’,20, 3 );
function woo_change_texts( $translated_text, $text, $domain ) {switch ( $translated_text ) {
case ‘View Cart’ :
$translated_text = __( ‘ver carrito’, $domain );
break;}
return $translated_text;
}- This reply was modified 6 years, 7 months ago by Ajna_Libera.